-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (33 loc) · 967 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
language: python
# python managed by conda until 3.7 available
# python:
# - '3.6'
addons:
apt:
packages:
- verilator
- verilog
install:
# install conda for py 3.7
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $TRAVIS_BUILD_DIR/miniconda
- export PATH=$TRAVIS_BUILD_DIR/miniconda/bin:$PATH
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -q -n test-env python=3.7
- source activate test-env
- conda install pip
# End install conda
- pip install -r requirements.txt
- pip install pytest pytest-cov pytest-codestyle
- pip install -e .
script:
- pytest --codestyle delta
--cov delta
--ignore=Genesis2/
-v --cov-report term-missing tests
# disable coveralls for now
# after_success:
# - coveralls