Repository: climate
Updated Branches:
  refs/heads/master a04ce8247 -> 436855092


CLIMATE-794 - Update travis.yml

- Use easy-ocw script for build
- Track coverage
- Upload code coverage report to coveralls.io


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/fd17855a
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/fd17855a
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/fd17855a

Branch: refs/heads/master
Commit: fd17855ad00e49c04bee8b88603c8aa2ae7cceee
Parents: a04ce82
Author: Ibrahim <[email protected]>
Authored: Thu May 26 00:14:47 2016 +0530
Committer: Ibrahim <[email protected]>
Committed: Mon May 30 00:11:48 2016 +0530

----------------------------------------------------------------------
 .travis.yml | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/fd17855a/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 9fd9635..dca9987 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,20 +17,13 @@
 language: python
 python:
   - "2.7"
+notifications:
+   email: false
 install:
   - sudo apt-get update
-  - wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh 
-O miniconda.sh;
-  - bash miniconda.sh -b -p $HOME/miniconda
-  - export PATH="$HOME/miniconda/bin:$PATH"
-  - hash -r
-  - conda config --set always_yes yes --set changeps1 no
-  - conda update -q conda
-  # Useful for debugging any issues with conda
-  - conda info -a
-  - sudo apt-get -y install python-dev
-  - sudo apt-get -y install python-pip
-  - conda install --file easy-ocw/ocw-conda-dependencies.txt
-  - pip install -r easy-ocw/ocw-pip-dependencies.txt
-  - python setup.py install
+  - source easy-ocw/install-ubuntu.sh
+  - pip install python-coveralls
 script:
-  - nosetests
+  - nosetests --with-coverage --cover-package=ocw --nocapture -v
+after_script:
+  - coveralls

Reply via email to