New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added osx-travis support #115

Merged
merged 2 commits into from Nov 6, 2017
Jump to file or symbol
Failed to load files and symbols.
+34 −11
Diff settings

Always

Just for now

Copy path View file
@@ -1,13 +1,37 @@
language: python
sudo: required
dist: trusty
python:
- 2.7
- 3.5
- 3.6
os:
- linux
# - osx
matrix:
include:
- os: linux
python: "2.7"
- os: linux
python: "3.5"
- os: linux
python: "3.6"
# Use generic language for osx
- os: osx
language: generic
python: "2.7"
env: TRAVIS_PYTHON_VERSION=2.7
- os: osx
language: generic
python: "3.5"
env: TRAVIS_PYTHON_VERSION=3.5
- os: osx
language: generic
python: "3.6"
env: TRAVIS_PYTHON_VERSION=3.6
allow_failures:
- os: osx
before_install:
- .travis/before_install.sh
@@ -40,4 +64,3 @@ notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/08a570c12a3afa37d8e2
Copy path View file
@@ -4,6 +4,7 @@
set -e
set -v
if [ "$TRAVIS_OS_NAME" = linux ]; then
sudo apt-get update
MINICONDAVERSION="Linux"
@@ -15,7 +16,7 @@ if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-$MINICONDAVERSION-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-$MINICONDAVERSION-x86_64.sh -O miniconda.sh;
fi
fi
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
@@ -25,7 +26,6 @@ conda update -q conda
conda config --add channels conda-forge
# Useful for debugging any issues with conda
conda info -a
conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION casacore=2.3.0
echo "measures.directory: /home/travis/data" > $HOME/.casarc
echo "measures.directory: $HOME/data" > $HOME/.casarc
ProTip! Use n and p to navigate between commits in a pull request.