2015-03-28 22:27:02 -04:00
|
|
|
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
2018-08-20 00:54:52 -07:00
|
|
|
dist: xenial
|
|
|
|
sudo: true
|
2015-03-28 22:27:02 -04:00
|
|
|
|
2015-02-25 20:30:24 -08:00
|
|
|
language: python
|
|
|
|
python:
|
2018-08-20 00:36:17 -07:00
|
|
|
- "3.7"
|
2018-08-20 01:06:29 -07:00
|
|
|
- "3.6"
|
|
|
|
- "2.7"
|
|
|
|
- "pypy3.5"
|
2015-02-25 20:30:24 -08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install .
|
|
|
|
|
|
|
|
env:
|
|
|
|
- CI_TARGET=core
|
2015-07-18 11:06:15 -04:00
|
|
|
- CI_TARGET=iverilog
|
2015-03-03 18:19:29 -05:00
|
|
|
- CI_TARGET=ghdl
|
2015-02-25 20:30:24 -08:00
|
|
|
|
2018-08-20 01:07:55 -07:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2018-08-20 01:34:32 -07:00
|
|
|
- python: "pypy3.5"
|
2018-08-20 01:07:55 -07:00
|
|
|
|
2018-08-20 00:54:52 -07:00
|
|
|
|
2016-10-24 23:20:33 -04:00
|
|
|
before_script:
|
2018-08-19 23:50:20 -07:00
|
|
|
- if [[ "$CI_TARGET" == "iverilog" ]]; then
|
|
|
|
sudo apt-get -qq update;
|
|
|
|
sudo apt-get install iverilog;
|
|
|
|
elif [[ "$CI_TARGET" == "ghdl" ]]; then
|
2018-08-20 00:44:28 -07:00
|
|
|
sudo add-apt-repository ppa:mati75/ghdl -y;
|
|
|
|
sudo apt-get -qq update;
|
|
|
|
sudo apt-get install ghdl;
|
2018-08-19 23:50:20 -07:00
|
|
|
fi
|
2016-10-24 23:20:33 -04:00
|
|
|
|
2015-04-18 18:33:04 -04:00
|
|
|
script: ./scripts/ci.sh
|
2015-02-25 20:41:56 -08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|