From c155642fedcc9ab5036fa18c8990265e94d1b967 Mon Sep 17 00:00:00 2001 From: coryleach Date: Tue, 16 Jun 2020 11:37:09 -0400 Subject: [PATCH 1/4] travis.yml and csc.rsp import --- .travis.yml | 28 ++++++++++++++++++++++++++++ Runtime/csc.rsp | 1 + Runtime/csc.rsp.meta | 7 +++++++ 3 files changed, 36 insertions(+) create mode 100644 .travis.yml create mode 100644 Runtime/csc.rsp create mode 100644 Runtime/csc.rsp.meta diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ad1d81c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: objective-c +os: osx +osx_image: xcode11.2 +branches: + only: + - master +cache: + timeout: 86400 + directories: + - $HOME/unity_download_cache/ #Cache unity installer files + - $HOME/project_cache/ #Cache for created unity projects +before_install: + - bash <(curl -fsSL https://raw.githubusercontent.com/coryleach/UnityTravisCI/master/bin/before-install.sh) +install: + - ./install.sh + - source ./find-unity.sh #source this because it exports required env vars +before_script: + - ./get-license.sh +script: + - source ./setup-project.sh #source this because it exports project path + - ./run-tests.sh +after_success: + - ./return-license.sh + - ./clean-project.sh +after_failure: + - ./return-license.sh + - ./clean-project.sh + diff --git a/Runtime/csc.rsp b/Runtime/csc.rsp new file mode 100644 index 0000000..2f6b821 --- /dev/null +++ b/Runtime/csc.rsp @@ -0,0 +1 @@ +-nowarn:CS0649 diff --git a/Runtime/csc.rsp.meta b/Runtime/csc.rsp.meta new file mode 100644 index 0000000..e630cf4 --- /dev/null +++ b/Runtime/csc.rsp.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2723de5f66eca284ab2d56c7f6f3c119 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: From 59f1b83172e005cff21201c84954b2dd972af403 Mon Sep 17 00:00:00 2001 From: coryleach Date: Tue, 16 Jun 2020 11:38:12 -0400 Subject: [PATCH 2/4] Removing the disabled warning --- Runtime/csc.rsp | 1 - Runtime/csc.rsp.meta | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 Runtime/csc.rsp delete mode 100644 Runtime/csc.rsp.meta diff --git a/Runtime/csc.rsp b/Runtime/csc.rsp deleted file mode 100644 index 2f6b821..0000000 --- a/Runtime/csc.rsp +++ /dev/null @@ -1 +0,0 @@ --nowarn:CS0649 diff --git a/Runtime/csc.rsp.meta b/Runtime/csc.rsp.meta deleted file mode 100644 index e630cf4..0000000 --- a/Runtime/csc.rsp.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2723de5f66eca284ab2d56c7f6f3c119 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: From a9073215ee1f98108b7bce2b237322f6882065ed Mon Sep 17 00:00:00 2001 From: coryleach Date: Tue, 16 Jun 2020 17:24:56 -0400 Subject: [PATCH 3/4] Update .travis.yml --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ad1d81c..34a4b24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,8 @@ before_script: - ./get-license.sh script: - source ./setup-project.sh #source this because it exports project path - - ./run-tests.sh + - ./run-tests.sh editmode + - ./run-tests.sh playmode after_success: - ./return-license.sh - ./clean-project.sh From 1a276c1a8a741a2ecb0bb18f668e60bc69f2fee7 Mon Sep 17 00:00:00 2001 From: coryleach Date: Tue, 16 Jun 2020 17:27:37 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 157dd8f..2467471 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@

Gameframe.Async 👋

+[![Build Status](https://travis-ci.org/coryleach/UnityAsync.svg?branch=master)](https://travis-ci.org/coryleach/UnityAsync) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/d2749fdbc70f422a9d1efccb56d48bff)](https://www.codacy.com/manual/coryleach/UnityAsync?utm_source=github.com&utm_medium=referral&utm_content=coryleach/UnityAsync&utm_campaign=Badge_Grade) ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/coryleach/UnityAsync?include_prereleases) [![openupm](https://img.shields.io/npm/v/com.gameframe.async?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.gameframe.async/)