-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (44 loc) · 3.89 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# do not install anything extra onto the image
language: generic
# use a Mac OSX image
os: osx
# only run builds on pushes to the master branch
branches:
only:
- master
# send email notifications when the build changes from succeeding to broken
notifications:
email:
on_success: never
on_failure: change
# decrypt the encrypted SSH key file so it can be used for scp auth in post_build.sh
before_install:
#- openssl aes-256-cbc -k "$KEYFILE_PASS" -in "${UPLOAD_KEYPATH}.enc" -out "${UPLOAD_KEYPATH}" -d
# run the script to download and install Unity editor
install:
- sudo -E sh ./Scripts/install.sh
# run the script for unit tests and builds
script:
- sudo -E sh ./Scripts/build.sh
# run the script to upload the builds as tarballs
before_deploy:
- sudo -E sh ./Scripts/post_build.sh
# environment variables used in bash scripts
env:
global:
- UNITYCI_PROJECT_NAME="UnityProject"
- TOKEN="GITHUB TOKEN"
# - UPLOAD_KEYPATH="./Scripts/upload"
# - secure: EP/gYRGlPuoIftQrhEVhAuis44jsntK4qV76x4egPZuf1ddbJw8RnwRxXslqh2WNFqS8O3Hy1BJXVCSMDzWdyaRDdrVK4z9s/kA0qPBt2LUjQpSd4LAgSXD55hxiAbG8sB3Hzhrz5fgh+CJZ87vdoz4lVZLIerdkKOyouM7UfM9A79YLjZYpa2F3E94iMC+TYtdFS3m+ztZZQTWsA/0VwejX4+xeJuA60y8ZIUeyLNaMsSqsaVMWMX7xOpfw1DYT7v4cg01OBE9g1x+t0xOY+e8Ttc6crX2LhR90BXx22wkNXCKOQfy/trnghP/iepL7YQci0loizGskzlc1hVJ+qDbLq5rSgyMS8fGovKjWuV8ln8ppucnmLvCGeqmRJiYJTvW/A4ktTDxcUBbO4Utv/BliIbkS9qEKhQ6aPQHsDOQUZbrBOTCKumoGpEC8KWslCD270BNDO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yDlgtrWhWJJ6TnPqP08w2V0qRh1S4mT3ac3IDsUEHArjmMFnVUD8pR2QJSJ3vLaXPpt+9t/JDifbId4NEjuWlcscmQxunHm1ged2XXMX4bamnoDiKPR+xbyc+n6el9Q+0w=
deploy:
provider: s3
region: eu-central-1
access_key_id: "ACCESS KEY"
secret_access_key: "SECRET ACCESS KEY"
bucket: "ant2alex"
file_glob: true
file: "${UNITYCI_PROJECT_NAME}_win.tar.gz"
skip_cleanup: true