2019-01-21 09:59:42 -05:00
|
|
|
language: python
|
|
|
|
dist: Xenial
|
2019-01-21 10:36:17 -05:00
|
|
|
python: "3.6"
|
2019-01-21 09:59:42 -05:00
|
|
|
|
|
|
|
install:
|
2019-04-22 01:30:02 -04:00
|
|
|
# Get Migen / LiteX / Cores
|
|
|
|
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
|
|
|
- python3 litex_setup.py init install
|
2019-08-29 06:13:05 -04:00
|
|
|
- python3 -m pip install pyyaml
|
2019-04-22 01:30:02 -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/
|
2019-01-21 10:36:17 -05:00
|
|
|
|
2019-04-22 01:30:02 -04:00
|
|
|
script: python setup.py test
|