forked from equinor/semeio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (48 loc) · 1.32 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
57
58
language: python
python:
- "3.6"
- "3.7"
virtualenv:
system_site_packages: false
compiler:
- gcc
os:
- linux
sudo: false
dist: xenial
env:
global:
- ERT_SHOW_BACKTRACE=1
- INSTALL_DIR="$(pwd)/install"
- LD_LIBRARY_PATH="${INSTALL_DIR}/lib:${INSTALL_DIR}/lib64"
- DYLD_LIBRARY_PATH="${INSTALL_DIR}/lib:${INSTALL_DIR}/lib64"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- liblapack-dev
- valgrind
- cmake
- cmake-data
- gcc
install:
- git clone --branch master --depth 1 https://github.com/equinor/ert
- pushd ert
- pip install --upgrade -r requirements.txt
- source .libres_version
- git clone --branch $LIBRES_VERSION --depth 1 https://github.com/equinor/libres
- pushd libres
- source .libecl_version
- popd
- git clone --branch $LIBECL_VERSION --depth 1 https://github.com/equinor/libecl
- bash .build_install.sh libecl
- bash .build_install.sh libres
- export PYTHONPATH=$INSTALL_DIR/lib/python$TRAVIS_PYTHON_VERSION/dist-packages:$PYTHONPATH
- export PYTHONPATH=$INSTALL_DIR/lib/python$TRAVIS_PYTHON_VERSION/site-packages:$PYTHONPATH
- PATH=$INSTALL_DIR/bin:$PATH
- pip install . --prefix=$INSTALL_DIR
- popd
script:
- python setup.py test