Commit bc7403da authored by Chiggs's avatar Chiggs

Attempt a build matrix of synthesis and simulation

parent 9a97040a
#!/bin/bash
set -ev
# Synthesis build
if [ "${SYNTHESIS}" = "true" ]; then
wget https://www.dropbox.com/s/xvum1md2deppgre/quartus_14.0.tar.gz?dl=0
mv quartus* quartus_14.0.tar.gz
tar -zxf quartus_14.0.tar.gz
cd syn && PATH=$PWD/../altera/14.0/quartus/bin:$PATH make &
pid=$!
# Often no output so have to force output
while kill -0 $pid >/dev/null 2>&1; do sleep 5m; echo Build still running, honest; done
fi
# Simulation build
if [ "SIMULATION}" = "true" ]; then
git clone https://github.com/potentialventures/cocotb.git
export COCOTB=$PWD/cocotb
cd tb && make
fi
\ No newline at end of file
sudo: false sudo: false
language: python env:
python: matrix:
- "2.7" - SYNTHESIS=true
before_install: - SIMULATION=true
- curl checkip.dyndns.org addons:
- wget https://www.dropbox.com/s/xvum1md2deppgre/quartus_14.0.tar.gz?dl=0 apt:
- mv quartus* quartus_14.0.tar.gz packages:
- tar -zxf quartus_14.0.tar.gz - python-imaging
- iverilog
install:
- pip install coverage
- pip install coveralls
script: script:
- cd syn && PATH=$PWD/../altera/14.0/quartus/bin:$PATH make & - ./.travis.sh
- pid=$!
- echo $pid
- while kill -0 $pid >/dev/null 2>&1; do sleep 1m; echo Build still running, honest; done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment