- # Install iverilog package.
- - "sudo add-apt-repository -y ppa:mithro/iverilog-backport"
- - "sudo apt-get update"
- - "sudo apt-get install iverilog"
- - "iverilog -v; true"
- # Build the vpi module.
- - "(cd vpi; make; sudo make install)"
- # Install verilator package
- - "sudo apt-get install verilator"
- - "verilator --version; true"
- # Build and install Migen conda package
- - "conda build conda/migen"
- - "conda install $HOME/miniconda/conda-bld/linux-64/migen-*.tar.bz2"
-
-script:
- # Run tests
- - "python setup.py test"
- # Generate HTML documentation
- - "make -C doc html"
+ # Get Migen / LiteX / Cores
+ - cd ~/
+ - pip3 install requests
+ - cp $TRAVIS_BUILD_DIR/litex_setup.py .
+ - python3 litex_setup.py init install
+ # Install the LiteX version being tested
+ - cd $TRAVIS_BUILD_DIR
+ - python3 setup.py install