forked from dockstore/dockstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (42 loc) · 1.46 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
notifications:
slack:
on_success: never
on_failure: always
rooms:
- oicr:S9k4EowgQv9AnbCfEZHSzCsg
sudo: required
services:
- docker
addons:
postgresql: "9.6"
cache:
directories:
- $HOME/.m2
language: java
jdk:
- oraclejdk8
install:
- docker version
- pip2.7 install --user setuptools==36.5.0
- pip2.7 install --user cwl-runner cwltool==1.0.20170828135420 schema-salad==2.6.20170806163416 avro==1.8.1 ruamel.yaml==0.14.12 requests==2.18.4
before_script:
- psql -c "create user dockstore with password 'dockstore' createdb;" -U postgres
- psql -c "ALTER USER dockstore WITH superuser;" -U postgres
- psql -c 'create database webservice_test with owner = dockstore;' -U postgres
- export PATH=$PATH:$PWD/dockstore-client/target
env:
- EXTRA_MAVEN_VAR=""
- EXTRA_MAVEN_VAR="cobertura:cobertura-integration-test coveralls:report"
script: ./scripts/run-tests.sh
before_install:
- pip install --upgrade pip
- mvn --batch-mode dependency:get -Dartifact=org.eluder.coveralls:coveralls-maven-plugin:4.2.0
- openssl aes-256-cbc -K $encrypted_c42a0604a544_key -iv $encrypted_c42a0604a544_iv -in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/7f1c48703628e3514bb6
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always