-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
36 lines (33 loc) · 1.44 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.2
rvm:
- 2.2
before_install:
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_install.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_unity_key.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_build.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_tests.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/playTest_log_converter.py
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/editorTest_log_converter.py
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_unity_return_key.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_validation.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_deploy_dev.sh
- chmod a+x ./Reabilitacao-Motora/Assets/Scripts/travis_deploy_master.sh
install:
- ./Reabilitacao-Motora/Assets/Scripts/travis_install.sh
jobs:
include:
- stage: master_stage
if: branch = master
script:
- ./Reabilitacao-Motora/Assets/Scripts/travis_validation.sh
- ./Reabilitacao-Motora/Assets/Scripts/travis_deploy_master.sh
- stage: homolog_stage
if: branch = development
script:
- ./Reabilitacao-Motora/Assets/Scripts/travis_validation.sh
- ./Reabilitacao-Motora/Assets/Scripts/travis_deploy_dev.sh
- stage: development_stages
if: (NOT branch = development) AND (NOT branch = master)
script:
- ./Reabilitacao-Motora/Assets/Scripts/travis_validation.sh