forked from mspraggs/pyQCD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
22 lines (22 loc) · 928 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
install:
- wget http://www.cmake.org/files/v2.8/cmake-2.8.11.2-Linux-i386.sh
- wget http://bitbucket.org/eigen/eigen/get/3.1.4.tar.gz
- tar xvfz 3.1.4.tar.gz
- chmod +x cmake-2.8.11.2-Linux-i386.sh
- ./cmake-2.8.11.2-Linux-i386.sh --prefix=/home/travis/build/mspraggs/pyQCD --include-subdir
- mv eigen-eigen-36bf2ceaf8f5 /home/travis/build/eigen-eigen-36bf2ceaf8f5
- sudo apt-get install -qq libboost-python-dev libboost-test-dev libboost-random-dev
- sudo apt-get install -qq python-setuptools
script:
- ls /home/travis/build/mspraggs/pyQCD/cmake-2.8.11.2-Linux-i386 -l
- ls /home/travis/build/mspraggs/pyQCD/cmake-2.8.11.2-Linux-i386/bin -l
- ./cmake-2.8.11.2-Linux-i386/bin/cmake
- ./cmake-2.8.11.2-Linux-i386/bin/cmake . -DEIGEN3_INCLUDE_DIR=/home/travis/build/eigen-eigen-36bf2ceaf8f5
- make lattice
- make