forked from cocotb/cocotb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (30 loc) · 1.56 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
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created via the "travis encrypt" command using the project repo's public key
- secure: "YTKZKkNH8t11bZCtR4nMjszifW+QlIAluDAthYq8I4EpuRSKQ1ntVi9MnDs6EQu8CD9LfFOeQ0wymRU71FOf22n54sCVQgbo8OcwHXa/3PUeWi9A/i+BqRZ7iCdeGFJH8rQaCWov6mCyVjjdie52kwWv3jy1ZaTeuUTX54EKFII="
language: python
python:
- "2.7"
- "3.4"
before_install:
# workaround for travis-ci/travis-ci/#5326
- export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
- sudo add-apt-repository -y ppa:team-electronics/ppa
- sudo apt-get update -qq
install:
- sudo apt-get install -qq iverilog-daily
- pip install coverage
- pip install xunitparser
- if [ $( python -c "from __future__ import print_function; import sys; print(sys.version_info.major)") -eq 3 ]; then ln -s /opt/python/3.4.2/bin/python3.4-config /home/travis/virtualenv/python3.4/bin/python-config; fi
- if [ $( python -c "from __future__ import print_function; import sys; print(sys.version_info.major)") -eq 3 ]; then export LD_LIBRARY_PATH=/opt/python/3.4.2/lib:$LD_LIBRARY_PATH; fi
- export PYTHONPATH=$PYTHONPATH:$(python -c "from __future__ import print_function; from distutils.sysconfig import get_python_lib; print(get_python_lib())")
script:
- make test
addons:
coverity_scan:
project:
name: "potentialventures/cocotb"
description: "Python Co-simulation library for RTL verification"
notification_email: [email protected]
build_command: "make"
branch_pattern: coverity_scan