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
|
|
|
|
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
|
|
|
- python3 litex_setup.py init 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
|
|
|
|
- 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/
|
2018-03-03 19:46:38 -05:00
|
|
|
|
2019-04-22 02:32:00 -04:00
|
|
|
script: python setup.py test
|