Commit 58f4d78a authored by Chiggs's avatar Chiggs

Revert .travis back to master form

parent c0abff1e
#!/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
env:
matrix:
- SYNTHESIS=true
- SIMULATION=true
addons:
apt:
packages:
- python-imaging
- iverilog
language: python
python:
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-imaging
- sudo apt-get install -y iverilog
- git clone https://github.com/potentialventures/cocotb.git
- export COCOTB=$PWD/cocotb
install:
- pip install --user coverage
- pip install --user coveralls
- pip install coverage
- pip install coveralls
script:
- ./.travis.sh
- cd tb && PYTHONPATH=/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages make COVERAGE=1
after_success:
- coveralls
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