forked from nschloe/meshio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
25 lines (23 loc) · 819 Bytes
/
config.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
version: 2
jobs:
build:
working_directory: ~/meshio
docker:
- image: ubuntu:17.10
steps:
- run: apt-get update
- run: apt-get install -y software-properties-common
- run: LANG=C.UTF-8 apt-add-repository -y ppa:nschloe/vtk7
- run: apt-get update
- run: apt-get install -y git python3-h5py python3-netcdf4 python3-vtk7 python3-pip
- run: pip3 install -U pytest pytest-cov pylint
- checkout
- run: pip3 install .[exodus,hdf5]
# Make sure to get numpy 1.13.0
- run: pip3 install -U numpy
# The actual test
- run: pylint setup.py meshio/ test/*.py tools/meshio-convert
- run: cd test/ && pytest --cov meshio
# submit to codecov
- run: apt-get install -y curl
- run: bash <(curl -s https://codecov.io/bash)