Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Plio
Commits
24476f28
Commit
24476f28
authored
8 years ago
by
Jason R Laura
Browse files
Options
Downloads
Patches
Plain Diff
Added the sh dependency to travis
parent
365e6403
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+14
-3
14 additions, 3 deletions
.travis.yml
with
14 additions
and
3 deletions
.travis.yml
+
14
−
3
View file @
24476f28
...
@@ -17,11 +17,19 @@ before_install:
...
@@ -17,11 +17,19 @@ before_install:
install
:
install
:
# We do this conditionally because it saves us some downloading if the
# We do this conditionally because it saves us some downloading if the
# version is the same.
# version is the same.
-
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
fi
else
if ["$TRAVIS_PYTHON_VERSION" == "2.7"]; then
curl -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh;
else
curl -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh;
fi
fi
-
bash miniconda.sh -b -p $HOME/miniconda
-
bash miniconda.sh -b -p $HOME/miniconda
-
export PATH="$HOME/miniconda/bin:$PATH"
-
export PATH="$HOME/miniconda/bin:$PATH"
-
hash -r
-
hash -r
...
@@ -37,6 +45,9 @@ install:
...
@@ -37,6 +45,9 @@ install:
-
conda install nose coverage
-
conda install nose coverage
-
pip install coveralls
-
pip install coveralls
# Install sh to support upload to Anaconda
-
pip install sh
script
:
script
:
-
nosetests --with-coverage --cover-package=plio
-
nosetests --with-coverage --cover-package=plio
# After test success, package and upload to Anaconda
# After test success, package and upload to Anaconda
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment