-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
49 lines (45 loc) · 2.08 KB
/
circle.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
46
47
48
49
##
## Build with CircleCI
##
## https://circleci.com/gh/optimizationBenchmarking/evaluator-evaluator
#
machine:
# Install the newest version of ant.
pre:
# Install the required Ant version
- sudo apt-get -q -y -f update
- wget "https://raw.githubusercontent.com/optimizationBenchmarking/utils-build/master/antWebInstallerLinux.sh"
- chmod 755 antWebInstallerLinux.sh
- sudo ./antWebInstallerLinux.sh
# installing R and required packages
- sudo apt-get -q -y -f install r-base r-base-dev
- sudo Rscript -e 'if(!(require("vegan"))) install.packages("vegan", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
- sudo Rscript -e 'if(!(require("cluster"))) install.packages("cluster", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
- sudo Rscript -e 'if(!(require("fpc"))) install.packages("fpc", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
- sudo Rscript -e 'if(!(require("NbClust"))) install.packages("NbClust", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
- sudo Rscript -e 'if(!(require("mclust"))) install.packages("mclust", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
- sudo Rscript -e 'if(!(require("stats"))) install.packages("stats", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
- sudo Rscript -e 'if(!(require("apcluster"))) install.packages("apcluster", repos="http://cran.us.r-project.org", dependencies=TRUE, clean=TRUE)'
environment:
# We set the environment variable JAVA_OPTS to reduce
# the memory footprint in order to prevent unexpected
# test termination.
JAVA_OPTS: -Xms1536m -Xmx1536m
MAVEN_OPTS: -Xms1536m -Xmx1536m
_JAVA_OPTIONS: -Xms1536m -Xmx1536m
# We do nothing here.
dependencies:
override:
- echo "Nothing"
# We set a high timeout to prevent the test from being
# terminated unexpectedly.
test:
override:
- ant:
timeout: 10000
# The branches to be ignored
general:
branches:
ignore:
- gh-pages
- documentation