-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
26 lines (22 loc) · 1023 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
language: scala
scala:
- 2.11.7
jdk: oraclejdk8
dist: trusty
install:
## https://docs.travis-ci.com/user/migrating-from-legacy/#Adding-APT-Sources
# - echo "deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/" | sudo tee -a /etc/apt/sources.list
- sudo apt-get install -y r-base
- sudo apt-get install pandoc -y
# disabled because does not install 2.11 but somehting old (see joblist/TestAssembledCLI.scala:65)
# - sudo apt-get install scala -y
- export PATH="$HOME/build/holgerbrandl/joblist/scripts/:$PATH"
- export IS_TRAVIS_CI="true"
- sudo chmod -R ugo+w /usr/local/lib/R/site-library
# ## just test if we can install packages without user intervention
# - Rscript -e 'r = getOption("repos"); r["CRAN"] = "http://ftp5.gwdg.de/pub/misc/cran/"; options(repos = r); suppressMessages(if (!require("docopt")) install.packages("docopt")); .libPaths()'
# cache:
# bundler: true
# directories:
# - /usr/local/lib/R/site-library
script: sbt ++$TRAVIS_SCALA_VERSION assembly test