forked from pmneila/PyMCubes
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
44 lines (34 loc) · 922 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
37
38
39
40
41
42
43
44
# vim ft=yaml
# After changing this file, check it on:
# http://yaml-online-parser.appspot.com/
# See doc/travis_notes.txt for some guidelines
language: python
matrix:
include:
- os: linux
dist: trusty
sudo: false
python: '3.6'
- os: linux
dist: xenial
sudo: required
python: '3.7'
# See http://docs.travis-ci.com/user/caching/#pip-cache
cache: pip
before_install:
- sudo apt-get update
- pip install --upgrade pip setuptools
install:
- pip install -r requirements.txt
- pip install nose>=1.3.7 coverage codecov pytest>=3.0.5 pycollada
- python setup.py build
- python setup.py build_ext --inplace
before_script:
- mkdir output
script:
- nosetests -v --exe --with-xunit --with-coverage --cover-package=mcubes
after_success:
- python setup.py install
- codecov # PUBLIC project
# - coverage report && coverage xml
# - python-codacy-coverage -r coverage.xml