Merge pull request #450 from mithro/litex-setup-fix
[litex.git] / .travis.yml
1 language: python
2 dist: Xenial
3 python: "3.6"
4
5 install:
6 # Get Migen / LiteX / Cores
7 - cd ~/
8 - wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
9 - python3 litex_setup.py init install
10 # Install the LiteX version being tested.
11 - cd $TRAVIS_BUILD_DIR
12 - python3 setup.py install
13
14 before_script:
15 # Get RISC-V toolchain
16 - wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
17 - tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
18 - export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
19
20 script: python setup.py test