.travis.yml: udpate to keep it similar with others .travis.yml files.
This commit is contained in:
parent
0c3a610544
commit
e7cd6a7e2c
11
.travis.yml
11
.travis.yml
|
@ -9,11 +9,12 @@ before_install:
|
|||
|
||||
install:
|
||||
# Get Migen / LiteX / Cores
|
||||
- cd ~/
|
||||
- wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
|
||||
- python3 litex_setup.py init install
|
||||
# litex_setup.py fails for litedram, which has already been cloned by Travis
|
||||
# now install the local litedram so that it is available for benchmarks script
|
||||
- python3 -m pip install .
|
||||
# Install the version being tested
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
- python3 setup.py install
|
||||
|
||||
before_script:
|
||||
# Get RISC-V toolchain
|
||||
|
@ -26,7 +27,9 @@ script: ./.sim-test.py --sdram-module="$SDRAM_MODULE"
|
|||
jobs:
|
||||
include:
|
||||
- stage: "Unit tests"
|
||||
script: python setup.py test
|
||||
script:
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
- python setup.py test
|
||||
|
||||
- stage: "Simulations"
|
||||
env: SDRAM_MODULE=IS42S16160
|
||||
|
|
Loading…
Reference in New Issue