2015-03-28 22:27:02 -04:00
|
|
|
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
2016-10-24 19:40:54 -04:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2015-03-28 22:27:02 -04:00
|
|
|
|
2015-02-25 20:30:24 -08:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "pypy"
|
2015-03-11 08:07:34 -04:00
|
|
|
- "3.4"
|
2015-10-02 16:27:11 -04:00
|
|
|
- "3.5"
|
2017-01-12 11:23:28 -05:00
|
|
|
- "3.6"
|
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
|
|
|
|
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
|
|
|
|
wget -O ghdl.tgz "https://github.com/ghdl/ghdl/releases/download/v0.35/ghdl-0.35-mcode-ubuntu14.tgz";
|
|
|
|
mkdir -p ghdl;
|
|
|
|
tar -xvzf ghdl.tgz -C ghdl/;
|
|
|
|
export PATH=$PATH:$PWD/ghdl/bin;
|
|
|
|
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
|