forked from smdogroup/tacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (47 loc) · 1.09 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: python
os:
- linux
sudo: required
dist: trusty
group: edge
notifications:
email: false
git:
depth: 10
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libblas-dev
- liblapack-dev
- libopenmpi-dev
- openmpi-bin
- cmake
before_install:
# Need Cython for generating C/python wrapper
- pip install --upgrade pip
- pip install numpy
- pip install mpi4py
- pip install Cython
- pip install setuptools
# Download the external dependencies
- export INSTALL_PREFIX=/home/$USER
- cd $INSTALL_PREFIX
- git clone https://github.com/gjkennedy/tacs.git
- export TACS_DIR=/home/$USER/tacs
- cd $TACS_DIR/extern/
- wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz
- tar -xzf metis-5.1.0.tar.gz
- cd metis-5.1.0
- make config prefix=$TACS_DIR/extern/metis/ CFLAGS="-fPIC"
- make install
install:
- cd $TACS_DIR
- cp Makefile.in.info Makefile.in
- cp setup.cfg.info setup.cfg
- make TACS_DIR=$TACS_DIR
- python setup.py install
script:
- cd $TACS_DIR/examples
- make TACS_DIR=/home/$USER/tacs