-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (35 loc) · 1.21 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
35
36
37
38
39
40
41
42
43
44
language: python
python:
- 2.7
- 3.7
sudo: required
dist: xenial
before_install:
- sudo add-apt-repository -y ppa:team-electronics/ppa
- sudo apt-get update
install:
- sudo apt-get install -qq libhdf5-serial-dev
#- sudo apt-get -y install iverilog-daily
- sudo apt-get install gperf
- git clone https://github.com/steveicarus/iverilog.git
- cd iverilog && autoconf && ./configure && make && sudo make install && cd ..
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- conda update --yes conda
- conda create --yes -n test-environment python=$TRAVIS_PYTHON_VERSION pytest numpy psutil qtpy pyqt pyyaml pyzmq pytables
- source activate test-environment
- pip install cocotb==1.0.dev3
- pip install xvfbwrapper # fake x server for Qt gui tests
# Install basil
#- git clone -b v3.0.0 https://github.com/SiLab-Bonn/basil; cd basil; python setup.py develop; cd ..;
- pip install basil-daq>=3.0.0
# Install pytlu
- python setup.py develop
# Install EUDAQ
- source tests/setup_eudaq.sh
script:
- cd tests
- python --version
- pytest -s -v