From ef3804a471daea78bed8430040431f27488ddcec Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 5 Feb 2015 22:26:26 -0700 Subject: [PATCH] travis: refactor get-misoc.sh --- .travis.yml | 6 +----- .travis/get-misoc.sh | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100755 .travis/get-misoc.sh diff --git a/.travis.yml b/.travis.yml index 583871ab7..2b06c1c8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,11 +15,7 @@ before_install: - ./.travis/get-xilinx.sh - ./.travis/get-anaconda.sh pip coverage numpy scipy sphinx h5py pyserial dateutil - source $HOME/miniconda/bin/activate py34 - - sudo apt-get install --force-yes -y iverilog - - pip install --src . -e 'git+https://github.com/m-labs/migen.git@master#egg=migen' - - mkdir vpi - - iverilog-vpi --name=vpi/migensim migen/vpi/main.c migen/vpi/ipc.c - - git clone --recursive https://github.com/m-labs/misoc + - ./.travis/get-misoc.sh - pip install --src . -e 'git+https://github.com/nist-ionstorage/llvmlite.git@artiq#egg=llvmlite' - pip install coveralls install: diff --git a/.travis/get-misoc.sh b/.travis/get-misoc.sh new file mode 100755 index 000000000..08bb61362 --- /dev/null +++ b/.travis/get-misoc.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +sudo apt-get install --force-yes -y iverilog +pip install --src . -e 'git+https://github.com/m-labs/migen.git@master#egg=migen' +mkdir vpi && iverilog-vpi --name=vpi/migensim migen/vpi/main.c migen/vpi/ipc.c +git clone --recursive https://github.com/m-labs/misoc