2019-01-21 09:59:42 -05:00
|
|
|
language: python
|
|
|
|
dist: Xenial
|
2019-01-21 10:36:17 -05:00
|
|
|
python: "3.6"
|
2019-01-21 09:59:42 -05:00
|
|
|
|
|
|
|
env:
|
|
|
|
- TEST: 'test.test_downconverter'
|
|
|
|
- TEST: 'test.test_upconverter'
|
2019-01-26 09:00:16 -05:00
|
|
|
- TEST: 'test.test_bist'
|
|
|
|
- TEST: 'test.test_axi'
|
|
|
|
- TEST: 'test.test_ecc'
|
|
|
|
# - TEST: 'test.test_examples'
|
|
|
|
|
2019-01-21 09:59:42 -05:00
|
|
|
|
|
|
|
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
|
2019-01-21 10:36:17 -05:00
|
|
|
|
2019-01-21 09:59:42 -05:00
|
|
|
script: python -m unittest $TEST
|