Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
language: python
python:
- '3.5'
- '3.6'
language: c

os:
- linux
- osx

branches:
only:
- master

# before_install:
# - ./install_dcr.sh


install:
# - export PATH="$PATH:$HOME/build/soar-telescope/goodman_pipeline/dcrbin"

- sudo apt-get update
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update &&
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi

# Here we install Anaconda to work with Virtual Environments. We do this
# conditionally because it saves us some downloading if the version is the same.
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh --output miniconda.sh;
fi


- bash miniconda.sh -b -p $HOME/miniconda
Expand Down
4 changes: 2 additions & 2 deletions install_dcr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ then
echo 'You do not have any virtual environment activated'

else
ENV_NAME=$(conda info | grep 'active environment' | sed 's/\<active environment\>//g' | sed "s/[: ]//g")
ENV_PATH=$(conda info | grep 'active env location' | sed 's/\<active env location\>//g' | sed "s/[: ]//g")
ENV_NAME=$(conda info | grep 'active environment' | sed 's/active environment//g' | sed "s/[: ]//g")
ENV_PATH=$(conda info | grep 'active env location' | sed 's/active env location//g' | sed "s/[: ]//g")
echo "Using Virtual Environment: " $ENV_NAME
echo "Environment path information: " $ENV_PATH
if [ -d $SOURCE_DIR ]
Expand Down