Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #40 from simphony/codecov-migration
Browse files Browse the repository at this point in the history
Added codecov yaml configuration
  • Loading branch information
stefanoborini committed Aug 15, 2016
2 parents 1026911 + d641163 commit 2012a27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: python

python:
- "2.7"
virtualenv:
Expand All @@ -16,9 +15,11 @@ before_install:
- sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu precise main > /etc/apt/sources.list.d/openfoam.list"
- sudo apt-get update -qq
# cloud init requires additional user input which halts the travis build.
- sudo apt-mark hold cloud-init
- sudo apt-get upgrade -yy --force-yes
- sudo apt-get install -y --force-yes ${PARAVIEW} python-imaging
- sudo apt-mark hold cloud-init postgresql-9.2 postgresql-9.3 postgresql-9.4 postgresql-contrib-9.2 postgresql-contrib-9.3 postgresql-contrib-9.4
# The upgrade can produce errors (e.g. with multiple postgres versions).
# Travis used to ignore them but now it doesn't, so we add a || true
- sudo apt-get upgrade -y --force-yes -o Dpkg::Options::="--force-confold"
- sudo apt-get install -y --force-yes ${PARAVIEW} python-imaging
- pip install -r dev-requirements.txt
- pip install -r test-requirements.txt
- pip install git+https://github.com/simphony/simphony-common.git@${SIMPHONY_VERSION}#egg=simphony
Expand Down
9 changes: 9 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage:
precision: 2
round: down
range: "70...100"
status:
patch:
default: {}
project:
default: {}

0 comments on commit 2012a27

Please sign in to comment.