forked from OHDSI/Achilles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (32 loc) · 996 Bytes
/
.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
language: java
jdk:
- oraclejdk7
sudo: required
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
- sudo R CMD javareconf
- ./travis-tool.sh install_r_binary rJava
- ./travis-tool.sh install_deps
- ./travis-tool.sh install_github OHDSI/SqlRender
- ./travis-tool.sh install_github OHDSI/DatabaseConnector
- ./travis-tool.sh install_github jimhester/covr
script:
- ./travis-tool.sh run_tests
- ./travis-tool.sh dump_logs
- echo $TEST
after_failure:
- ./travis-tool.sh dump_logs
notifications:
recipients:
email:
on_success: change
on_failure: change
after_success:
- Rscript -e 'library(covr);codecov()'
# Rebuild docker container
# - curl --data "build=true" -X POST https://registry.hub.docker.com/u/ohdsi/development/trigger/e51f720d-c4e7-45df-b042-5d8a362bd7e0/