forked from mlr-org/mlr
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
76 lines (66 loc) · 2.4 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
language: r
sudo: false
cache: packages
r:
- release
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- gfortran-4.9
- libgmp-dev
- libgsl0-dev
env:
global:
- _R_CHECK_TIMINGS_=0
- _R_CHECK_FORCE_SUGGESTS_=0
- secure: "d0xff7hriQyReF4y3/iR5sHJlXocKNKcN6/Gi/r9Hxsfuh2Hx3fouQCMSPP+Oba6MDgEvAfryToAxcmaoZByQMwgevB0OBy5xkatj3oTHmhN5Nbk3jNXxXfA6P0Oqxaf7lXVZk2+Ly+PWnbgXn0uhjzdaZo0cWtVJ660ajS0x9Q="
warnings_are_errors: true
r_check_args: "--as-cran --run-donttest"
r_packages:
- roxygen2
r_github_packages:
- berndbischl/BBmisc
- berndbischl/parallelMap
- berndbischl/ParamHelpers
- RevolutionAnalytics/quickcheck/pkg
before_install:
- mkdir $HOME/bin
- ln -s $(which gcc-4.9) $HOME/bin/gcc
- ln -s $(which g++-4.9) $HOME/bin/g++
- ln -s $(which gfortran-4.9) $HOME/bin/gfortran
- export PATH=$HOME/bin:$PATH
- echo $LD_LIBRARY_PATH
- echo $LIBRARY_PATH
before_script:
- java -cp $HOME/R/Library/RWekajars/java/weka.jar weka.core.WekaPackageManager -install-package thirdparty/XMeans1.0.4.zip
- R --no-save <<< 'library("devtools"); document()'
after_success:
- git checkout master
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B --no-merges -n 1)\""
- R --no-save <<< 'library("devtools"); document()'
- ./thirdparty/gen_families.sh > man/mlrFamilies.Rd
- git config user.name $GN
- git config user.email $GM
- git config credential.helper "store --file=.git/credentials"
- echo "https://$GT:@github.com" >> .git/credentials
- git config push.default matching
- git add man/*
- git commit man DESCRIPTION NAMESPACE -m "update auto-generated documentation [ci skip]" || true
- git push
- "[ $TRAVIS_PULL_REQUEST == \"false\" -a $TRAVIS_BRANCH == \"master\" ] && curl -s -X POST -H \"Content-Type:application/json\" -H \"Accept:application/json\" -H \"Travis-API-Version:3\" -H \"Authorization:token $TT\" -d \"{\\\"request\\\":{\\\"branch\\\":\\\"gh-pages\\\", \\\"message\\\":\\\"commit $TRAVIS_COMMIT $TRAVIS_COMMIT_MSG\\\"}}\" https://api.travis-ci.org/repo/mlr-org%2Fmlr-tutorial/requests"
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
recipients:
- bernd_bischl@gmx.net
- larsko@cs.ubc.ca
- schiffner@math.uni-duesseldorf.de
- erich.studerus@gmail.com
slack: mlr-org:DYNA3KIwcG9F4sQoeyTnPBhF#buildnotifications
on_success: change
on_failure: always