-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
39 lines (32 loc) · 1.16 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
language: r
sudo: false
cache: packages
warnings_are_errors: false
branches:
except:
- /^*-v[0-9]/
r_packages:
- covr
- drat
r_github_packages:
- OHDSI/FeatureExtraction
- OHDSI/CohortMethod
- OHDSI/EmpiricalCalibration
- OHDSI/IcTemporalPatternDiscovery
- OHDSI/MethodEvaluation
before_script:
- export PKG_NAME=$(Rscript -e 'cat(paste0(devtools::as.package(".")$package))')
- export PKG_TARBALL=$(Rscript -e 'pkg <- devtools::as.package("."); cat(paste0(pkg$package,"_",pkg$version,".tar.gz"))')
notifications:
recipients:
email:
on_success: change
on_failure: change
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && perl compare_versions --tag && bash deploy.sh && curl --data "build=true" -X POST https://registry.hub.docker.com/u/ohdsi/broadsea-methodslibrary/trigger/f0b51cec-4027-4781-9383-4b38b42dd4f5/
- Rscript -e 'library(covr);codecov()'
env:
global:
- secure: PiXvBNIYwsoV6XRx9MLNu2MOI6sgk/xgJO/T4FCCRC+0zBuNUUkvDN2mEKO8y2p+CgwXDq/JVq9gJb6NvwBf2lj7PDQwEuxU3j0Tinx56IdIrWbia98QW91b8F8+dg8M3FEt0BEPlbiDKqSjhqcv3fXOOoxT9QbQjaZaA1zkCAk=