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 language: python
env: python:
matrix: - "2.7"
- SYNTHESIS=true before_install:
- SIMULATION=true - sudo apt-get update -qq
addons: - sudo apt-get install -y python-imaging
apt: - sudo apt-get install -y iverilog
packages: - git clone https://github.com/potentialventures/cocotb.git
- python-imaging - export COCOTB=$PWD/cocotb
- iverilog
install: install:
- pip install --user coverage - pip install coverage
- pip install --user coveralls - pip install coveralls
script: 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