2019-11-22 13:37:06 -05:00
|
|
|
language: python
|
|
|
|
dist: Xenial
|
|
|
|
python: "3.6"
|
|
|
|
|
|
|
|
install:
|
|
|
|
# Get Migen / LiteX / Cores
|
2020-04-07 06:20:26 -04:00
|
|
|
- cd ~/
|
2019-11-22 13:37:06 -05:00
|
|
|
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
|
|
|
- python3 litex_setup.py init install
|
2020-04-07 06:20:26 -04:00
|
|
|
# Install the version being tested
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
- python3 setup.py install
|
2019-11-22 13:37:06 -05:00
|
|
|
|
2020-08-05 09:51:01 -04:00
|
|
|
before_script:
|
|
|
|
# Get RISC-V toolchain
|
|
|
|
- wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6.tar.gz
|
|
|
|
- tar -xvf riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6.tar.gz
|
|
|
|
- export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-20171231-x86_64-linux-centos6/bin/
|
|
|
|
|
2020-04-07 06:20:26 -04:00
|
|
|
script:
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
- python setup.py test
|