forked from sunqm/libcint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 842 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
sudo: false
language: c
env:
# this is for Python, per http://danielnouri.org/notes/2012/11/23/use-apt-get-to-install-python-dependencies-for-travis-ci/
virtualenv:
system_site_packages: true
os:
- linux
compiler:
- gcc
- clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
# clang-3.8 comes from this
- llvm-toolchain-precise
packages:
- cmake
- python-numpy
- gcc
- g++
- gfortran
# This should provide OpenMP
- clang
- libblas-dev
script:
- env
- mkdir build
- cd build
- echo 'if the following fails, use `cmake --debug-output ..` instead'
- cmake -DWITH_RANGE_COULOMB=1 .. -DENABLE_TEST=1 -DQUICK_TEST=1
- make
- echo 'cannot do `make test` right now'
after_failure:
- echo "FAILURE"
- find . -name CMakeOutput.log -exec cat {} ";"
- find . -name CMakeError.log -exec cat {} ";"