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 ~/
|
2019-04-22 02:32:00 -04:00
|
|
|
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
|
|
|
- python3 litex_setup.py init install
|
2020-04-06 14:38:23 -04:00
|
|
|
# Install the LiteX version being tested.
|
|
|
|
- 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
|
2019-05-25 03:30:54 -04:00
|
|
|
- wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
|
|
|
|
- tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
|
|
|
|
- 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
|
|
|
|
2019-04-22 02:32:00 -04:00
|
|
|
script: python setup.py test
|