Skip to content

Commit

Permalink
Merging commits to get travis with macOS running into one.
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimwolff committed Nov 3, 2017
1 parent 6b475fa commit 7a58849
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 62 deletions.
22 changes: 9 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
language: python
language: c
sudo: true
services:
- postgresql
addons:
apt:
packages:
- samtools
python:
- 2.7
- 3.5
- 3.6

env:
- TRAVIS_PYTHON_VERSION=2.7
- TRAVIS_PYTHON_VERSION=3.6
os:
- linux
- osx

jobs:
include:
- stage: lint
env:
- LINT=1
- TRAVIS_PYTHON_VERSION=2.7
before_install:
- curl https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
Expand All @@ -37,8 +32,9 @@ before_install:
- export HIC_TEST_DATA_DIR="`pwd`/hicexplorer/test/test_data/"
- echo $HIC_TEST_DATA_DIR
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then curl https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then curl https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then curl https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then curl https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -o miniconda.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o miniconda.sh ; fi
- bash miniconda.sh -b -p $HOME/miniconda
- PATH_WITHOUT_CONDA="$PATH"
- export PATH="$HOME/miniconda/bin:$PATH"
Expand All @@ -53,7 +49,7 @@ install:
- conda create --name hicexplorer_pytest --yes python=$TRAVIS_PYTHON_VERSION pytest
- source activate hicexplorer_pytest
- conda install --yes -c defaults -c conda-forge -c bioconda --file requirements.txt
- conda install --yes -c defaults -c conda-forge -c bioconda configparser
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then conda install --yes -c defaults -c conda-forge -c bioconda configparser ; fi
- python setup.py install

# command to run tests
Expand Down
3 changes: 0 additions & 3 deletions conda_hicexplorer_test/build.sh

This file was deleted.

46 changes: 0 additions & 46 deletions conda_hicexplorer_test/meta.yaml

This file was deleted.

0 comments on commit 7a58849

Please sign in to comment.