forked from narayanan2004/GraphMat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (29 loc) · 840 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
# Enable C++ support
language: cpp
# Ubuntu 14.04 Trusty support
sudo: required
dist: trusty
#env:
# global:
# - secure: ""
# Download and install intel compiler and MPI
before_install:
# - wget -q 'https://raw.githubusercontent.com/nemequ/icc-travis/master/install-icc.sh'
# - ./install-icc.sh --components icc,mpi
- sudo apt-get -qq update
# - sudo apt-get install -y g++-4.9
- sudo apt-get install -y mpich
- sudo apt-get install -y libboost-dev
- sudo apt-get install -y libboost-serialization-dev
- test -n $CC && unset CC
- test -n $CXX && unset CXX
# Build steps
script:
# - source ~/.bashrc
- make MPICXX=mpic++ CXX=g++ -j
- make MPICXX=mpic++ CXX=g++ test -j
- ./testbin/test
- mpirun -np 4 ./testbin/test
#Uninstall intel tools
#after_script:
# - '[[ ! -z "${INTEL_INSTALL_PATH}" ]] && uninstall_intel_software'