forked from achimmihca/UniInject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (44 loc) · 1.28 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
language: shell
env:
global:
- BUILD_NAME="UniInject"
- UNITYCI_PROJECT_NAME="UniInject"
services:
- docker
# Only run builds on pushes to the main branch
branches:
only:
- main
# Send email notifications when the build changes from succeeding to broken and vice versa
notifications:
email:
on_success: change
on_failure: change
before_install:
- chmod +x ./Tools/Travis/before_script.sh
- chmod +x ./Tools/Travis/test.sh
- chmod +x ./Tools/Travis/build.sh
- chmod +x ./Tools/Travis/docker_test.sh
- chmod +x ./Tools/Travis/docker_build.sh
- chmod +x ./Tools/DownloadDependencies/*.sh
- export -f travis_fold
- (cd Tools/DownloadDependencies/; sh download-dependencies.sh)
- docker pull $IMAGE_NAME
jobs:
include:
- stage: test
script: "./Tools/Travis/docker_test.sh"
env: TEST_PLATFORM=editmode IMAGE_NAME=unityci/editor:ubuntu-2020.2.1f1-linux-il2cpp-0.7.0
addons:
artifacts:
s3_region: "eu-west-1"
paths:
- "$(pwd)/$TEST_PLATFORM-results.xml"
- stage: test
script: "./Tools/Travis/docker_test.sh"
env: TEST_PLATFORM=playmode IMAGE_NAME=unityci/editor:ubuntu-2020.2.1f1-linux-il2cpp-0.7.0
addons:
artifacts:
s3_region: "eu-west-1"
paths:
- "$(pwd)/$TEST_PLATFORM-results.xml"