forked from broadinstitute/cromwell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (60 loc) · 1.88 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
sudo: required
dist: trusty
group: deprecated-2017Q4
services:
- docker
- mysql
language: scala
scala:
- 2.12.4
jdk:
- oraclejdk8
cache:
# md5deep - https://github.com/travis-ci/travis-ci/issues/3122
branch: md5deep
directories:
- $HOME/.ivy2/cache
- $HOME/.coursier/cache
- $HOME/.sbt/boot/
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
before_install:
# https://github.com/travis-ci/travis-ci/issues/7940#issuecomment-310759657
- sudo rm -f /etc/boto.cfg
- mysql -u root -e "SET GLOBAL sql_mode = 'STRICT_ALL_TABLES';"
- mysql -u root -e "CREATE DATABASE IF NOT EXISTS cromwell_test;"
env:
global:
- INTEGRATION_TESTS_DIR=centaur/src/main/resources/integrationTestCases
matrix:
# Setting this variable twice will cause the 'script' section to run twice with the respective env var invoked
- BUILD_TYPE=sbt
- BUILD_TYPE=checkPublish
- BUILD_TYPE=centaurJes
- BUILD_TYPE=centaurLocal
- BUILD_TYPE=centaurTes
- BUILD_TYPE=centaurCwlConformanceLocal
- BUILD_TYPE=centaurCwlConformancePAPI
script:
- sudo apt-get install procps
- pip install 'requests[security]'
- sudo pip install --ignore-installed cwltool
- src/bin/travis/test.sh
after_success:
- src/bin/travis/afterSuccess.sh
deploy:
provider: script
script: src/bin/travis/publishRelease.sh
on:
tags: true
notifications:
slack:
rooms:
- secure: B5KYcnhk/ujAUWlHsjzP7ROLm6MtYhaGikdYf6JYINovhMbVKnZCTlZEy7rqT3L2T5uJ25iefD500VQGk1Gn7puQ1sNq50wqjzQaj20PWEiBwoWalcV/nKBcQx1TyFT13LJv8fbFnVPxFCkC3YXoHedx8qAhDs8GH/tT5J8XOC8=
template:
- "Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of %{repository}@%{branch} by %{author} %{result} in %{duration}"
on_success: change
on_failure: change
on_pull_requests: false