forked from assertivist/vastan-unity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·36 lines (36 loc) · 1.4 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: objective-c
osx_image: xcode9.1
rvm:
- 2.2
install:
- sudo /usr/local/Cellar/python/2.7.14/bin/python2.7 -c "import ssl; print ssl.OPENSSL_VERSION"
- git clone https://github.com/sttz/install-unity
- sudo /usr/local/Cellar/python/2.7.14/bin/python2.7 ./install-unity/install-unity.py --package Unity 5.4.4
- sudo /usr/local/Cellar/python/2.7.14/bin/python2.7 ./install-unity/install-unity.py --package Linux --package Windows 5.4.4
script:
- ./build.sh
before_deploy:
- openssl aes-256-cbc -K $encrypted_c0435a387948_key -iv $encrypted_c0435a387948_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
- provider: script
skip_cleanup: true
script: scp -o StrictHostKeyChecking=no -r $TRAVIS_BUILD_DIR/Package/* [email protected]:/home/vastan/public_html/release/development
on:
branch: development
- provider: script
skip_cleanup: true
script: scp -o StrictHostKeyChecking=no -r $TRAVIS_BUILD_DIR/Package/* [email protected]:/home/vastan/public_html/release/master
on:
branch: master
notifications:
irc:
channels:
- "avaraline.net#vastan"
template:
- "Vastan build #%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Download: http://vastan.net/release/%{branch}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"