Merge pull request #452 from mithro/riscv-download
[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 - cp $TRAVIS_BUILD_DIR/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 - cd ~/
17 - python3 litex_setup.py gcc
18 - export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
19
20 script:
21 - cd $TRAVIS_BUILD_DIR
22 - python setup.py test