2018-03-03 19:20:27 -05:00
|
|
|
language: python
|
2019-04-22 02:32:00 -04:00
|
|
|
dist: Xenial
|
|
|
|
python: "3.6"
|
2018-03-03 19:20:27 -05:00
|
|
|
|
|
|
|
install:
|
2019-04-22 02:32:00 -04:00
|
|
|
# Get Migen / LiteX / Cores
|
2020-04-06 14:38:23 -04:00
|
|
|
- cd ~/
|
2020-04-07 04:55:58 -04:00
|
|
|
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
2019-04-22 02:32:00 -04:00
|
|
|
- python3 litex_setup.py init install
|
2020-04-07 04:55:58 -04:00
|
|
|
# Install the LiteX version being tested
|
2020-04-06 14:38:23 -04:00
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
- python3 setup.py install
|
2018-03-03 19:20:27 -05:00
|
|
|
|
2018-03-03 19:46:38 -05:00
|
|
|
before_script:
|
2019-04-22 02:32:00 -04:00
|
|
|
# Get RISC-V toolchain
|
2020-04-06 19:54:25 -04:00
|
|
|
- cd ~/
|
|
|
|
- python3 litex_setup.py gcc
|
2019-05-25 03:30:54 -04:00
|
|
|
- export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
|
2018-03-03 19:46:38 -05:00
|
|
|
|
2020-04-06 19:54:25 -04:00
|
|
|
script:
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
- python setup.py test
|