1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

Merge pull request #269 from jck/travis

travis fixes
This commit is contained in:
Keerthan Jaic 2018-08-20 01:37:14 -07:00 committed by GitHub
commit f3c4a3aeee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 16 deletions

View File

@ -1,14 +1,13 @@
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: required
dist: trusty
dist: xenial
sudo: true
language: python
python:
- "2.7"
- "pypy"
- "3.4"
- "3.5"
- "3.7"
- "3.6"
- "2.7"
- "pypy3.5"
install:
- pip install .
@ -18,8 +17,22 @@ env:
- CI_TARGET=iverilog
- CI_TARGET=ghdl
# Remove when py37 bugs are fixed
matrix:
allow_failures:
- python: "3.7"
- python: "pypy3.5"
before_script:
- ./scripts/ci_deps.sh
- if [[ "$CI_TARGET" == "iverilog" ]]; then
sudo apt-get -qq update;
sudo apt-get install iverilog;
elif [[ "$CI_TARGET" == "ghdl" ]]; then
sudo add-apt-repository ppa:mati75/ghdl -y;
sudo apt-get -qq update;
sudo apt-get install ghdl;
fi
script: ./scripts/ci.sh

View File

@ -1,9 +0,0 @@
if [ "$CI_TARGET" == "iverilog" ]; then
sudo apt-get -qq update
sudo apt-get install iverilog
elif [ "$CI_TARGET" == "ghdl" ]; then
url=$(curl -s https://api.github.com/repos/ghdl/ghdl/releases/tags/v0.33 | jq -r ".assets[] | select (.name | test (\"ubuntu1_amd64\"))| .browser_download_url")
curl -Lo ghdl.deb $url
sudo dpkg -i ghdl.deb
sudo apt-get install -f
fi