Add Travis CI (#1)
* Create .travis.yml * Change Python version to 3.6 * Change OS to Linux 1604 and Python to version 3.7 * Set directory * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Split test in jobs * Remove recursive * Fix jobs * Add litex --recursive * Removed .py's in jobs * re-added recursive * Move tests to env: * Python 3.5 test * Run init and common tests always
This commit is contained in:
parent
031746a53c
commit
8e01cba7e6
|
@ -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
|
Loading…
Reference in New Issue