forked from smarr/SOMns
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
30 lines (28 loc) · 1.77 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
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=
matrix:
- TASK=core-tests
- TASK=checkstyle
- TASK=kompos-tests
- TASK=replay1-tests
- 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
script:
- if [ "$TASK" = "core-tests" ]; then ant core-tests && ant coverage; fi
- if [ "$TASK" = "checkstyle" ]; then ant checkstyle && ant eclipseformat-check && cd tools/kompos && nvm install 7 && npm install && npm run lint; fi
- if [ "$TASK" = "kompos-tests" ]; then nvm install 8 && ant && cd tools/kompos && npm -s run verify && npm test; fi
- if [ "$TASK" = "replay1-tests" ]; then ant compile && ./tests/replay/test.sh 1; fi
- if [ "$TASK" = "replay2-tests" ]; then ant compile && ./tests/replay/test.sh 2; fi