We want to have an almost identical .travis.yml between LiteX and the Cores.
Using $TRAVIS_BUILD_DIR works for LiteX but will not work for the cores.
install:
# Get Migen / LiteX / Cores
- cd ~/
- - cp $TRAVIS_BUILD_DIR/litex_setup.py .
+ - wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
- python3 litex_setup.py init install
- # Install the LiteX version being tested.
+ # Install the LiteX version being tested
- cd $TRAVIS_BUILD_DIR
- python3 setup.py install