-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
46 lines (39 loc) · 1.12 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
language: r
sudo: required
apt_packages:
- texlive
- ghostscript
- texlive-fonts-extra
- texinfo
- bedtools
- slurm-llnl
#slurm-wlm does not exist on ubuntu 14.04
env:
- TEST_SUITE=pipeline-noinput
- TEST_SUITE=pipeline-input
- TEST_SUITE=CRAN
- TEST_SUITE=OTHER
script:
- mkdir bin
- pushd bin
- curl -OL http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bigWigInfo
- curl -OL http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bigWigToBedGraph
- curl -OL http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bedToBigBed
- curl -OL http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/bedGraphToBigWig
- chmod 755 *
- export PATH=$(pwd):$PATH
- popd
- sudo cp slurm.conf /etc/slurm-llnl
- cp batchtools.conf.R tests/testthat
- sudo service munge start
- sudo /etc/init.d/slurmctld restart
- sudo /etc/init.d/slurmd restart
- sinfo
- R CMD INSTALL .
- if [ "$TEST_SUITE" == "CRAN" ];then bash build.sh;else Rscript -e "source('tests/testthat.R', chdir = TRUE)";fi
after_failure:
- travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change