.travis.yml 819 Bytes
Newer Older
Houtan Bastani's avatar
Houtan Bastani committed
1 2 3 4 5
language: cpp
sudo: required
os: osx
osx_image: xcode7.3
cache: ccache
6

Houtan Bastani's avatar
Houtan Bastani committed
7 8 9
cache:
  directories:
  - /usr/local
10

Houtan Bastani's avatar
Houtan Bastani committed
11 12 13 14 15 16 17 18 19 20 21
before_install:
  - wget http://ctan.math.utah.edu/ctan/tex-archive/systems/mac/mactex/BasicTeX.pkg -O "/tmp/BasicTeX.pkg"
  - echo "Installing OS X binary package for MacTeX"
  - sudo installer -pkg "/tmp/BasicTeX.pkg" -target / -dumplog -verbose
  - rm "/tmp/BasicTeX.pkg"
  - export PATH=/usr/texbin:/Library/TeX/texbin/pdflatex:$PATH
  - sudo /Library/TeX/texbin/tlmgr update --self
  - sudo /Library/TeX/texbin/tlmgr install pgfplots adjustbox collectbox datetime fmtcount
  - brew update
  - brew install ccache
  - brew install octave
22 23

install:
24
  - git clone --depth=1 --recursive --branch=master https://git.dynare.org/Dynare/dynare.git ~/builds/dynare
25 26 27 28

script:
  - make check-octave
  - ./success.sh