This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
forked from smarr/SOMns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (64 loc) · 4.21 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: java
jdk:
- oraclejdk8
sudo: false
env:
global:
- secure: PrFbSr/qjhVXrpiOzrcEMUZrnjEWJmvx5DC9QdaAmnUKpG9/7mJBQVgNziVj+GWfW84WJpkOsQf+I2lx7/cQsWQKad/t8wtypl30wGesSTpAgl5fCiKLOBAbOghKXir+WIaxtcATPPffur9OLh3ogEcmIQbVi682YUKmA5zF11JZdpCR4QONc/u+DqB29FuHru/cFiesYP0Oz82A+M0UtMcYsurKIxdKMD4YK/uSG892PUrcZU6STXlukhgQuy3PitSWkYV2KGxXMVKzWGM7dJvRggN05r/S871pscuRwZ+Doxqr9b17B3umCHi3i4KXmNH+Esb0p1mvegs0iS/b7RyA5SENre+H24n3SOeXTa3wSpTnF90XxQrDEBbY5wV7lN7MJG+pHxkOvoZt6pS3f7x2VYR8Joa4J+Gf6IDvxZMiCd1v3N1kc9ygyvJmHf5wDmLMdupk0/frojApDXfJT6bqiVL3S0FqZpXSPGAsKYf8wfn30Xz/YUBsnfUQ/a21Zz52+OTqPbt32Hf1FGYIEJSkZJUN90Q8rHVJt9zPg37xKCDuf6bxlvT040KSzuuXtizLkOnHq2rhg4Oad/JTw3d4NzPoRVzUI9qDKPrA7RdUAjmrB04Z1f3g/I6w3h2B9JTSFAzBcMZ5NYZhIqE31GQukgStaqC98y32/zo9xFs=
- secure: "WalAXxkaD+B+mMBN+1QXrsQVl90984+giSLl7dgPwTPdQ/Ka/8AlX4n53HATztgmjwgJbM+Y53YhoSR6Zaj8CRUL6WhXGwNA2q7Xma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MQAWZN6W2YGY10rPYT0eooukEbmNphWzz/vFO4UCphMSMt6SLoN7r3br7DYLRUevdK8vrIUb1LUQPGMYf7WIdMnckme7y+oJ3SR2YO6+vs3EyQsF1AdJqpbvag0/AbWHFVi2vfwrvKZwperPLtXE+EXh8B+Ck62gcYsTyUuMpoEws/+DqHUFByOgDbPDFBmFYwPWCoZh4h3Rw=
matrix:
fast_finish: true
include:
- env: TASK=core-tests
- env: TASK=checkstyle
- env: TASK=kompos-tests
- env: TASK=replay1-tests
- env: TASK=replay2-tests
- os: linux
dist: trusty
jdk: oraclejdk9
env: TASK=unit-tests
- os: linux
dist: trusty
jdk: oraclejdk8
env: TASK=unit-tests JDK=10
before_install: |
mkdir jdk10
cd jdk10
wget https://download.java.net/java/GA/jdk10/10/binaries/openjdk-10_linux-x64_bin.tar.gz
tar -xzf openjdk-10_linux-x64_bin.tar.gz
export JAVA_HOME=`pwd`/jdk-10
export PATH=${JAVA_HOME}/bin:$PATH
cd ..
- os: osx
osx_image: xcode9.2
language: generic
env: TASK=unit-tests
before_install: |
brew tap caskroom/versions
brew cask reinstall java
brew install ant
export JAVA_HOME=`/usr/libexec/java_home`
allow_failures:
- env: TASK=replay1-tests
- env: TASK=replay2-tests
install: |
if [ "$TASK" = "checkstyle" ]
then
export ECLIPSE_TAR=eclipse.tar.gz
export ECLIPSE_URL=http://archive.eclipse.org/eclipse/downloads/drops4/R-4.6.3-201703010400/eclipse-SDK-4.6.3-linux-gtk-x86_64.tar.gz
wget ${ECLIPSE_URL} -O ${ECLIPSE_TAR}
tar -C ${TRAVIS_BUILD_DIR}/.. -xzf ${ECLIPSE_TAR}
export ECLIPSE_EXE=${TRAVIS_BUILD_DIR}/../eclipse/eclipse
fi
export SG=-Dskip.graal=true
script:
- if [ "$TASK" = "core-tests" ]; then ant $SG core-tests && ant $SG coverage; fi
- if [ "$TASK" = "checkstyle" ]; then ant $SG checkstyle && ant $SG eclipseformat-check && cd tools/kompos && nvm install 7 && npm install && npm run lint; fi
- if [ "$TASK" = "kompos-tests" ]; then nvm install 8 && ant $SG && cd tools/kompos && npm -s run verify && npm test; fi
- if [ "$TASK" = "replay1-tests" ]; then ant $SG compile && ./tests/replay/test.sh 1; fi
- if [ "$TASK" = "replay2-tests" ]; then ant $SG compile && ./tests/replay/test.sh 2; fi
- if [ "$TASK" = "unit-tests" ]; then ant compile && ./som core-lib/TestSuite/TestRunner.ns; fi