From e7cd6a7e2cf27697c1c2a3e61ac75c0d8843c3a4 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 7 Apr 2020 12:24:04 +0200 Subject: [PATCH] .travis.yml: udpate to keep it similar with others .travis.yml files. --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6df11b3..81faa10 100644 --- a/.travis.yml +++ b/.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