31 lines
605 B
YAML
31 lines
605 B
YAML
language: python
|
|
dist: Xenial
|
|
python: "3.6"
|
|
|
|
env:
|
|
- TEST: 'test.test_downconverter'
|
|
- TEST: 'test.test_upconverter'
|
|
- TEST: 'test.test_bist'
|
|
- TEST: 'test.test_axi'
|
|
- TEST: 'test.test_ecc'
|
|
# - TEST: 'test.test_examples'
|
|
|
|
|
|
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
|