forked from prestodb/tempto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (23 loc) · 1.02 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
language: java
jdk:
- oraclejdk8
sudo: required
dist: trusty
services:
- docker
before_install:
# This section can be removed once travis get equipped with docker 1.10 and docker-compose 1.6
- |
sudo apt-get update
sudo apt-get -o "Dpkg::Options::=--force-confold" -y install docker-engine
sudo rm /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
install: ./gradlew build -x test
script:
- ./gradlew test
- ./tempto-examples/bin/run_on_docker.sh --thread-count 2 -x failing
- CONFIG_FILE=tempto-configuration-read-only.yaml ./tempto-examples/bin/run_on_docker.sh --thread-count 2 -g in_memory
- CONFIG_FILE=tempto-configuration-no-db.yaml ./tempto-examples/bin/run_on_docker.sh --thread-count 2 -g ssh
- CONFIG_FILE=tempto-configuration-invalid-ssh-and-psql.yaml ./tempto-examples/bin/run_on_docker.sh --thread-count 2 -g in_memory