.travis.yml: fix git clone error.

This commit is contained in:
Florent Kermarrec 2020-04-07 12:22:02 +02:00
parent 5e1da47cc4
commit d7b9212044
1 changed files with 7 additions and 3 deletions

View File

@ -4,10 +4,12 @@ python: "3.6"
install: install:
# Get Migen / LiteX / Cores # Get Migen / LiteX / Cores
- cd ~/
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py - wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
- python3 litex_setup.py init install - python3 litex_setup.py init install
# Install LiteX-Boards # Install the version being tested
- python3 setup.py develop - cd $TRAVIS_BUILD_DIR
- python3 setup.py install
before_script: before_script:
# Get RISC-V toolchain # Get RISC-V toolchain
@ -15,4 +17,6 @@ before_script:
- tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz - tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
- export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/ - export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
script: python setup.py test script:
- cd $TRAVIS_BUILD_DIR
- python setup.py test