Skip to content

Commit 17631dd

Browse files
authored
Merge pull request #49 from pubnub/develop
Travis releases fix
2 parents cbfca70 + 887e910 commit 17631dd

File tree

2 files changed

+23
-26
lines changed

2 files changed

+23
-26
lines changed

.travis.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,23 @@ notifications:
44
email:
55
on_success: never
66
on_failure: change
7-
87
jobs:
98
include:
10-
- stage: Install Unity/Run Tests/Export/Deploy
11-
install:
12-
- sudo -E sh ./TravisScripts/install.sh
13-
script:
14-
- sudo -E sh ./TravisScripts/build.sh
15-
deploy:
16-
provider: releases
17-
api_key:
18-
secure: ${s}
19-
file: $(pwd)/${UNITYCI_PROJECT_NAME}/${UNITYCI_PACKAGE_NAME}.unitypackage
20-
skip_cleanup: true
21-
on:
22-
repo: pubnub/unity
23-
#branch: master
24-
tags: true
9+
- stage: Install Unity/Run Tests/Export/Deploy
10+
install:
11+
- sudo -E sh ./TravisScripts/install.sh
12+
script:
13+
- sudo -E sh ./TravisScripts/build.sh
14+
deploy:
15+
provider: releases
16+
api_key: ${s}
17+
file: $(pwd)/${UNITYCI_PROJECT_NAME}/${UNITYCI_PACKAGE_NAME}.unitypackage
18+
skip_cleanup: true
19+
on:
20+
repo: pubnub/unity
21+
#branch: master
22+
tags: true
2523
env:
2624
global:
27-
- UNITYCI_PACKAGE_NAME="PubNub"
25+
- UNITYCI_PACKAGE_NAME="PubNub"
2826
- UNITYCI_PROJECT_NAME="PubNubUnity"
29-
- secure: sUu1lt5DjWdu5yipWJ/P3feodjp0wPePj7d5KmDI+nbhZ3OidPGWxXGSYuRGbbcb5x0kuQy3sECYOaIGFEg8jQlX8CfPt6ImUVntm5UvFbd0f7720FolqF1axGXykDmBdm50aVtmL5m2eb8mTGciJstjppKn0Hppt5KVCuprXAs=
30-
- secure: mHp1xygfk5LePe5uMnKl9qmlZS4KyStaHoJydcLovKAPBxXbrASj3jC2vdgzJwdK7288X5KwUGQFZCyyaHDSa0WBcluCl933kfmgcJacTTOfC3GdmX0MuMtfEaa8KjC5bnuYOQMDZ73/XAK7lLGIzQXLO393MwrckL+beE/rdY4=
31-
- secure: S94Ss9BjnnA4NiUVdtuvuEP5+n67MKZa/qmsgKSA+6JWxKghHRB1lBEDDSTmPt+LctgpryyYQYvrdpjhXREy7qkXB6wjS9PEd44axeHYyX2z7RjBZtfnIsNvMbVU599h/1Xb6LeeN3ZOiPJzxGyoKAGlbUykfrpFAqUDvZm43cM=
32-
- secure: amnc2yg7PWDmWrMk+m/FSp5S9VF5jGzExFRm83uS8P00cgu3/mr83cquXgoMbdjfoJbwcRZnA8kCzp9BdBRqzIdeCPG34rcTfggW+8DEv+nDdem/6GFWBmHK5hTrzGYZEE7h3aTwwCYfz8ujkBRoF4xUWF3pPSkh3rsF9jcjqbw=

TravisScripts/build.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# the project folder is "UnityProject". If this is not true then adjust the
66
# -projectPath argument to point to the right location.
77

8-
## Run the editor unit tests
8+
# Run the editor unit tests
99
echo "Running editor unit tests for ${UNITYCI_PROJECT_NAME} editmode"
1010
/Applications/Unity/Unity.app/Contents/MacOS/Unity \
1111
-batchmode \
@@ -62,14 +62,17 @@ echo "creating exportPackage"
6262
-quit \
6363
-batchmode \
6464
-logFile $(pwd)/exportPackage.log \
65-
-projectPath $(pwd)/${UNITYCI_PROJECT_NAME} \
65+
-projectPath "$(pwd)/${UNITYCI_PROJECT_NAME}" \
6666
-exportPackage "Assets" "${UNITYCI_PACKAGE_NAME}.unitypackage" \
67-
-username ${UNITYCI_USER_NAME} \
68-
-password ${UNITYCI_PASS} \
69-
-serial ${UNITYCI_SERIAL} \
67+
-username "${UNITYCI_NEW_USER}" \
68+
-password "${UNITYCI_NEW_PASS}" \
69+
-serial "${UNITYCI_NEW_SERIAL}"
7070

7171
# returning license
7272
echo "returning license"
73+
7374
/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -returnlicense
7475

76+
#cat $(pwd)/exportPackage.log
77+
7578
exit

0 commit comments

Comments
 (0)