Run litex_setup.py outside the git clone directory.

Otherwise it tries to overwrite the litex directory by cloning LiteX
into it.
This commit is contained in:
Tim 'mithro' Ansell 2020-04-06 11:38:23 -07:00
parent dd59dac571
commit d781bf2088

View file

@ -4,8 +4,12 @@ python: "3.6"
install:
# Get Migen / LiteX / Cores
- cd ~/
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
- python3 litex_setup.py init install
# Install the LiteX version being tested.
- cd $TRAVIS_BUILD_DIR
- python3 setup.py install
before_script:
# Get RISC-V toolchain