.travis.yml 1.24 KB
Newer Older
1
language: cpp
2
dist: trusty
Anton Gladky's avatar
Anton Gladky committed
3
4
compiler:
  - gcc
Rémi Cailletaud's avatar
Rémi Cailletaud committed
5
6
7
#virtualenv:
#    system_site_packages: true
#      - "2.7_with_system_site_packages"
Anton Gladky's avatar
Anton Gladky committed
8
9
10
notifications:
  email:
    recipients:
Rémi Cailletaud's avatar
Rémi Cailletaud committed
11
      - remi.cailletaud@3sr-grenoble.fr
Anton Gladky's avatar
Anton Gladky committed
12
13
14
    on_success: change
    on_failure: always
before_script:
15
16
  - sudo bash -c 'echo "deb http://www.yade-dem.org/packages/ trusty/" >> /etc/apt/sources.list'
  - wget -O - http://www.yade-dem.org/packages/yadedev_pub.gpg | sudo apt-key add -
Rémi Cailletaud's avatar
Rémi Cailletaud committed
17
  - sudo apt-get -qq update
18
  - sudo apt-get install cmake git freeglut3-dev libloki-dev libboost-all-dev fakeroot dpkg-dev build-essential g++ python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev python-xlib python-qt4 pyqt4-dev-tools gtk2-engines-pixbuf python-argparse libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen
Anton Gladky's avatar
Anton Gladky committed
19
20
  - mkdir build
  - cd build
Rémi Cailletaud's avatar
Rémi Cailletaud committed
21
  - export PATH=/usr/bin:$PATH
Rémi Cailletaud's avatar
Rémi Cailletaud committed
22
  - cmake -DUSE_QT5=0 -DCMAKE_CXX_FLAGS=-frounding-math -DCMAKE_INSTALL_PREFIX=./../inst -DSUFFIX=-trunk ..
Anton Gladky's avatar
Anton Gladky committed
23
script:
Rémi Cailletaud's avatar
Rémi Cailletaud committed
24
  - make -j 2
Anton Gladky's avatar
Anton Gladky committed
25
26
27
  - make install
  - ./../inst/bin/yade-trunk --test
  - ./../inst/bin/yade-trunk --check