-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (27 loc) · 746 Bytes
/
.travis.yml
File metadata and controls
28 lines (27 loc) · 746 Bytes
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
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 playmode
after_success:
- ./return-license.sh
- ./clean-project.sh
after_failure:
- ./return-license.sh
- ./clean-project.sh