Repository: climate Updated Branches: refs/heads/master 37dd5a86f -> c76293aa7
CLIMATE-773 - Add Continuous Integration (Travis-CI) this closes #321 Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/c76293aa Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/c76293aa Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/c76293aa Branch: refs/heads/master Commit: c76293aa735c0e1608ff54050f26d47dda4197b9 Parents: 37dd5a8 Author: Lewis John McGibbney <[email protected]> Authored: Tue Mar 29 10:21:25 2016 -0700 Committer: Lewis John McGibbney <[email protected]> Committed: Tue Mar 29 10:21:25 2016 -0700 ---------------------------------------------------------------------- .travis.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/c76293aa/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9fd9635 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,36 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +language: python +python: + - "2.7" +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 +script: + - nosetests
