-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (33 loc) · 1.13 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
language: generic
os: linux
dist: bionic
services:
- xvfb
cache:
directories:
- "$HOME/.cache"
- "$HOME/.ccache"
before_install:
- cd ${HOME}
- ccache -s
- export PATH=/usr/lib/ccache:${PATH}
- sudo apt-get install --yes libglu1-mesa-dev mesa-common-dev
- wget https://package-data.enthought.com/edm/rh6_x86_64/2.1/edm_cli_2.1.0_linux_x86_64.sh && bash ./edm_cli_2.1.0_linux_x86_64.sh -b -f -p $HOME
- export PATH=${HOME}/edm/bin:${PATH}
- edm install -y click setuptools
- cd ${HOME}/build/force-h2020/
- git clone -b master git://github.com/force-h2020/force-bdss.git
- pushd force-bdss && edm run -- python -m ci build-env && edm run -- python -m ci install && popd
- cd force-bdss-plugin-granta-example
- edm run -- python -m ci install-dummy-granta
script:
- edm run -- python -m ci install
- edm run -- python -m ci flake8
- export DISPLAY=:99.0
- edm run -- python -m ci test
- edm run -- python -m ci docs
after_success:
- edm run -- python -m ci coverage
- edm run -- pip install codecov
- edm run -- codecov
- bash <(curl -s https://codecov.io/bash)