forked from twosigma/waiter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (63 loc) · 2.1 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
73
74
75
76
77
78
dist: xenial
language: java
jdk: openjdk8
addons:
apt:
packages:
- nginx
artifacts: true
branches:
only:
- master
- /^build\/.*$/
cache:
directories:
- $HOME/.lein
- $HOME/.local
- $HOME/.m2
before_install:
- unset _JAVA_OPTIONS # Avoid unwanted _JAVA_OPTIONS set by Travis CI
- echo "Sudo-enabled build? ${TRAVIS_SUDO}"
install:
- ./waiter/bin/ci/install-lein
matrix:
include:
- name: 'Kitchen tests'
language: python
python: "3.6"
before_script: cd containers/test-apps && ./bin/ci/setup.sh
script: ./bin/ci/run.sh
- name: 'Token syncer tests'
before_script: cd token-syncer
script: ./bin/ci/run-all-tests.sh
- name: 'Waiter unit tests'
before_script: cd waiter
script: ./bin/ci/run-unit-tests.sh
- name: 'Waiter integration tests: composite-fast'
services: docker
before_script: cd waiter
script: ./bin/ci/run-integration-tests.sh composite parallel-test integration-fast
- name: 'Waiter integration tests: composite-slow'
services: docker
before_script: cd waiter
script: ./bin/ci/run-integration-tests.sh composite parallel-test integration-slow
- name: 'Waiter integration tests: kubernetes-heavy'
services: docker
before_script: cd waiter
script: ./bin/ci/run-integration-tests.sh k8s test integration-heavy
- name: 'Waiter integration tests: kubernetes-lite'
services: docker
before_script: cd waiter
script: ./bin/ci/run-integration-tests.sh k8s parallel-test integration-lite
- name: 'Waiter integration tests: marathon-fast'
services: docker
before_script: cd waiter
script: ./bin/ci/run-integration-tests.sh marathon parallel-test integration-fast
- name: 'Waiter integration tests: marathon-slow'
services: docker
before_script: cd waiter
script: ./bin/ci/run-integration-tests.sh marathon parallel-test integration-slow
- name: 'Waiter CLI integration tests'
services: docker
before_script: cd cli && ./bin/ci/setup.sh
script: ./bin/ci/run-integration-tests.sh