-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It now tests both the Java projects and the Jupyter notebooks. This is a first cut at addressing #53.
- Loading branch information
Showing
4 changed files
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
#!/bin/sh | ||
dir=$(cd "$(dirname "$0")" && pwd) | ||
if [ "$TRAVIS_SECURE_ENV_VARS" = true \ | ||
-a "$TRAVIS_PULL_REQUEST" = false \ | ||
-a "$TRAVIS_BRANCH" = master ] | ||
then | ||
cd maven-projects && | ||
mvn -Pdeploy-to-imagej deploy --settings "$dir/settings.xml" | ||
else | ||
cd maven-projects && | ||
mvn install | ||
fi | ||
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis-build.sh | ||
sh travis-build.sh $encrypted_4bf550f17d15_key $encrypted_4bf550f17d15_iv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
CONDA_DIR=$HOME/miniconda | ||
if [ ! -d "$CONDA_DIR" ]; then | ||
if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh | ||
else | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
fi | ||
bash miniconda.sh -b -p "$CONDA_DIR" | ||
fi | ||
export PATH="$CONDA_DIR/bin:$PATH" | ||
hash -r | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda info -a | ||
conda env create -n test-environment python="$TRAVIS_PYTHON_VERSION" -f environment.yml | ||
source activate test-environment |
This file was deleted.
Oops, something went wrong.