-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcircle.yml
More file actions
22 lines (22 loc) · 852 Bytes
/
circle.yml
File metadata and controls
22 lines (22 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
machine:
java:
version: openjdk8
dependencies:
pre:
- sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'
- gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
- gpg -a --export E084DAB9 | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install -y r-base curl wget libcurl4-openssl-dev libcairo-dev
override:
- curl https://raw.githubusercontent.com/NCEAS/mdqengine/master/install-r-packages.R -o install-r-packages.R
- sudo R CMD BATCH --vanilla install-r-packages.R
cache:
- "/usr/local/lib/R/site-library/"
test:
override:
- mvn clean package
post:
- mv target/*.war $CIRCLE_ARTIFACTS/
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;