-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
43 lines (39 loc) · 1.25 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
language: java
env:
global:
- MJ_RUN="./run" # Compiler run script used by mjtest
- MJ_TIMEOUT=60 # Timeout for normal test cases
- MJ_BIG_TIMEOUT=0 # Timeout for test cases marked as big
- SWIFT_VERSION="4.2" # Version to install with swiftenv
- TERM="dumb" # Remove interactive status updates in Gradle output
matrix:
include:
- os: linux
name: "Checkstyle"
jdk: oraclejdk8
env: TESTTYPE=checkstyle
- os: linux
name: "Frontend and Firm Compilation Tests"
jdk: oraclejdk8
env: TESTTYPE=frontend
- os: linux
name: "Compilation Tests with Custom Backend"
jdk: oraclejdk8
env: TESTTYPE=backend
- os: osx
name: "Frontend and Firm Compilation Tests"
osx_image: xcode10.1
env: TESTTYPE=frontend
- os: osx
name: "Compilation Tests with Custom Backend"
osx_image: xcode10.1
env: TESTTYPE=backend
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then source ~/virtualenv/python3.6/bin/activate ; fi
- python3 --version
- |
if [ "$TESTTYPE" == "backend" ] && [ "$TRAVIS_OS_NAME" != "osx" ]; then
eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" ;
fi
script:
- ./scripts/travis-test.sh