Permalink
Newer
Older
100644 41 lines (35 sloc) 1.2 KB
Dec 17, 2015 @nno BIG: initial commit
1 # vim ft=yaml
Dec 17, 2015 @nno BIG: major refactoring
2 # travis-ci.org definition for MOxUnit build (based on CoSMoMVPA,
3 # which is based on PyMVPA, which is based on nipype configuration,
4 # which in turn was based on nipy)
Dec 17, 2015 @nno BIG: initial commit
5 #
6 # We pretend to be java because we need GNU Octave which is not
7 # available (as of April 2015)
8
9 language: java
10
11 cache:
12 - apt
13 env:
14 global:
15 - OCTAVE=octave
16 before_install:
17 # to prevent IPv6 being used for APT
18 - sudo bash -c "echo 'Acquire::ForceIPv4 \"true\";' > /etc/apt/apt.conf.d/99force-ipv4"
19 - travis_retry sudo apt-get -y -qq update
20 - travis_retry sudo apt-get install -y -qq software-properties-common python-software-properties
21 - travis_retry sudo apt-add-repository -y ppa:octave/stable
22 - travis_retry sudo apt-get -y -qq update
23 # get Octave 4,0
24 - travis_retry sudo apt-get -y -qq install octave
Dec 17, 2015 @nno BIG: major refactoring
25 # install MOxUnit
Dec 17, 2015 @nno BIG: initial commit
26 - cd ..
Dec 17, 2015 @nno BIG: major refactoring
27 - rm -rf MOxUnit
Jan 26, 2016 @nno BLD: use MOxUnit master branch
28 - git clone https://github.com/MOxUnit/MOxUnit.git
Dec 17, 2015 @nno BIG: major refactoring
29 - make -C MOxUnit install
Jan 25, 2016 @nno BLD: update .travis.yml to reflect change in location of MOxUnit
30 # cd back to original directory
31 - cd MOcov
Dec 17, 2015 @nno BIG: initial commit
32
33 script:
Dec 17, 2015 @nno BIG: major refactoring
34 - if [[ "$SHIPPABLE" == "true" ]]; then
Jan 25, 2016 @nno BLD: update .travis.yml to reflect change in location of MOxUnit
35 make test JUNIT_XML=../MOcov/shippable/testresults/testresults.xml;
Feb 1, 2016 @scottclowe BLD: Only run tests once on Shippable
36 elif [[ "$TRAVIS" == "true" ]]; then
Jan 25, 2016 @nno BLD: update .travis.yml to reflect change in location of MOxUnit
37 make test;
Dec 17, 2015 @nno BIG: major refactoring
38 fi
39
Dec 17, 2015 @nno BIG: initial commit
40