Merge pull request #72 from EwoutH/master

Add Travis CI
This commit is contained in:
enjoy-digital 2019-01-21 16:35:32 +01:00 committed by GitHub
commit cc3880423a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
.travis.yml Normal file
View File

@ -0,0 +1,29 @@
language: python
dist: Xenial
python: "3.7"
env:
- TEST: 'test.test_axi'
- TEST: 'test.test_bist'
- TEST: 'test.test_downconverter'
- TEST: 'test.test_ecc'
- TEST: 'test.test_examples'
- TEST: 'test.test_upconverter'
install:
- var1="$(pwd)"
## Get migen
- git clone https://github.com/m-labs/migen
- cd migen
- python3 setup.py develop
- cd $var1
## Get litex
- git clone https://github.com/enjoy-digital/litex
- cd litex
- python3 setup.py develop
- cd $var1
## Run common tests
- python -m unittest test.__init__
- python -m unittest test.common
script: python -m unittest $TEST