forked from lmullen/dh-r
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (41 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
language: c
before_install:
- sudo apt-get update
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- sudo mv /etc/apt/sources.list.d/pgdg-source.list* /tmp
- sudo apt-get remove -y libgdal1
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -y
- ./travis-tool.sh install_aptget gdal-bin libgdal-dev libproj-dev
- ./travis-tool.sh bootstrap
install:
- sudo apt-get install r-cran-rjava
- export PATH="$HOME/pandoc:$PATH"
- mkdir $HOME/pandoc
- curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.3.zip
- unzip -j pandoc-1.12.3.zip pandoc-1.12.3/linux/debian/x86_64/pandoc -d $HOME/pandoc
- chmod +x $HOME/pandoc/pandoc
- pandoc --version
- mkdir -p $HOME/R/local
- curl -O http://datacube.wu.ac.at/src/contrib/openNLPmodels.en_1.5-1.tar.gz
- tar -C $HOME/R/local -xvf openNLPmodels.en_1.5-1.tar.gz
- ./travis-tool.sh r_install packrat
- mkdir ~/.R
- cp Makevars ~/.R
script:
- make packrat
- make all
deploy:
provider: s3
access_key_id: AKIAI3ZE4DKSC6ID3RMA
secret_access_key:
secure: Wk625mSLIvtidg9bv4/1rW2Yu6PYJg2I+1VZ11uAPYt4z/B7Vtr0bby8m8SITZtyd6S1UDSBnwoKIuoBET/Ox3NZSl+OeOa0eDXRhL4djkjv2HjwWSMDYV3rzYyIjlOAC58oY9RiAi50W8r1eyfmxPC1NDXAOYSp+7bTOCR8Na4=
bucket: dh-r.lincolnmullen.com
endpoint: dh-r.lincolnmullen.com.s3-website-us-east-1.amazonaws.com
local-dir: public
skip_cleanup: true
notifications:
email:
on_success: always
on_failure: always