forked from equinor/komodo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (28 loc) · 943 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
dist: trusty
language: python
python:
- '2.7'
env:
matrix:
- UNIT_TEST=1
- LINT_TEST=1
- INTEGRATION_TEST=1
matrix:
allow_failures:
- env: INTEGRATION_TEST=1
before_install:
- pip install -r requirements.txt
- export PYTHONPATH=$PWD:$PYTHONPATH
- echo $PYTHONPATH
- mkdir ws
- mkdir pfx
- export WS=$PWD/ws
- export PFX=$PWD/pfx
before_script:
- ls
- python -c "import komodo;print(komodo.__file__);print(komodo.__version__)"
script:
- if [[ ! -z $UNIT_TEST ]]; then ./setup.py test ; fi
- if [[ ! -z $LINT_TEST ]]; then python -m komodo.lint examples/releases/unstable.yml examples/repository.yml ; fi
- if [[ ! -z $LINT_TEST ]]; then python -m komodo.lint examples/releases/ecl.yml examples/repository.yml ; fi
- if [[ ! -z $INTEGRATION_TEST ]]; then bin/kmd examples/releases/ecl.yml examples/repository.yml --workspace $WS --prefix $PFX --release integration --renamer rename.ul; fi