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
language: python
python:
- "2.7"
before_install:
- curl checkip.dyndns.org
- 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
env:
matrix:
- SYNTHESIS=true
- SIMULATION=true
addons:
apt:
packages:
- python-imaging
- iverilog
install:
- pip install coverage
- pip install coveralls
script:
- cd syn && PATH=$PWD/../altera/14.0/quartus/bin:$PATH make &
- pid=$!
- echo $pid
- while kill -0 $pid >/dev/null 2>&1; do sleep 1m; echo Build still running, honest; done
- ./.travis.sh
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