-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.travis.yml
43 lines (38 loc) · 1.41 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
# Need Ubuntu trusty to install pip3
dist: trusty
sudo: required
jdk: oraclejdk8
python: 3.5
language: scala
services: docker
env:
- SBT_COMMAND=test-013
- SBT_COMMAND=test-10
install:
- sudo apt-get -qqy update
- sudo apt-get -qqy install python3-setuptools
- sudo easy_install3 -U pip
- pip3 install --user git+git://github.com/typesafehub/conductr-cli.git@master
# Ensure that our sandbox interfaces are prepared
- sudo /sbin/ifconfig lo:0 192.168.10.1 netmask 255.255.255.255 up
- sudo /sbin/ifconfig lo:1 192.168.10.2 netmask 255.255.255.255 up
- sudo /sbin/ifconfig lo:2 192.168.10.3 netmask 255.255.255.255 up
# Prep our sandbox with some temporary credentials for CI
- ./bin/create-credentials.sh
# Warm up some caches so that our tests don't timeout
- sandbox run 2.0.5 --no-default-features > /dev/null
- conduct load -q cassandra
- conduct load -q cinnamon-grafana-docker
- conduct load -q cinnamon-grafana
- conduct load -q eslite
- conduct load -q reactive-maps-backend-region
- conduct load -q reactive-maps-backend-summary
- conduct load -q visualizer
- conduct load -q conductr-elasticsearch
- conduct load -q conductr-kibana
- conduct load -q conductr-haproxy conductr-haproxy-dev-mode
- conduct load -q continuous-delivery
- sandbox stop
# Tests go faster if we do this... less interactions with bintray etc.
- export CONDUCTR_OFFLINE_MODE=1
script: sbt "$SBT_COMMAND"