Skip to content

Instantly share code, notes, and snippets.

@thearn
Created September 25, 2015 21:18
Show Gist options
  • Save thearn/43da469efb29f910c259 to your computer and use it in GitHub Desktop.
Save thearn/43da469efb29f910c259 to your computer and use it in GitHub Desktop.
os:
- linux
- osx
sudo: false
language: generic
env:
- PY=2.7
# - PY=3.4
before_install:
- OS=$(if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then echo "MacOSX"; else echo "Linux"; fi)
- wget "https://repo.continuum.io/miniconda/Miniconda-latest-$OS-x86_64.sh" -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- PATHPREFIX=$(if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then echo "/Users/travis/miniconda/bin"; else echo "/home/travis/miniconda/bin"; fi)
- export PATH=$PATHPREFIX:$PATH
- conda update --yes conda
install:
- conda install --yes python=$PY numpy scipy nose sphinx mock
- pip install nose-exclude
- pip install git+https://github.com/OpenMDAO/OpenMDAO.git
- pip install .
script:
- nosetests --exclude-dir=EngineModels/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment