forked from twosigma/waiter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.59 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
language: java
jdk:
- oraclejdk8
services:
- docker
branches:
only:
- master
env:
global:
- DEPS_CMD='lein with-profiles +test voom build-deps'
- LEIN_GET='wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein'
- LEIN_CHMOD='chmod +x ./lein'
- LEIN_DOWN='lein downgrade 2.6.1'
- _JAVA_OPTIONS='' # Avoid unwanted _JAVA_OPTIONS set by Travis CI
matrix:
- TEST_DIR=waiter TEST_CMD=./bin/ci/run-unit-tests.sh
- TEST_DIR=kitchen TEST_CMD='lein test'
- TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests.sh parallel-test integration-fast'
- TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests.sh parallel-test integration-slow'
- TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests.sh parallel-test explicit'
- TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests-shell-scheduler.sh parallel-test integration-fast'
- TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests-shell-scheduler.sh parallel-test integration-slow'
- TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests-shell-scheduler.sh parallel-test explicit'
matrix:
fast_finish: true
allow_failures:
- env: TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests.sh parallel-test explicit'
- env: TEST_DIR=waiter TEST_CMD='./bin/ci/run-integration-tests-shell-scheduler.sh parallel-test explicit'
cache:
directories:
- $HOME/.m2
- $HOME/.voom-repos
before_script: ($LEIN_GET && $LEIN_CHMOD && export PATH=$(pwd):$PATH && yes | $LEIN_DOWN && cd $TEST_DIR && $DEPS_CMD)
script: cd $TEST_DIR && $TEST_CMD
addons:
artifacts: true