-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from KrishnaswamyLab/dev
Add Travis CI testing and update README
- Loading branch information
Showing
6 changed files
with
72 additions
and
7 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,5 +1,34 @@ | ||
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r | ||
|
||
language: R | ||
sudo: false | ||
language: r | ||
sudo: required | ||
cache: packages | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
r: | ||
- oldrel | ||
- release | ||
- devel | ||
|
||
env: | ||
global: | ||
- PATH="$HOME/miniconda/bin:$PATH" | ||
- RETICULATE_PYTHON="$HOME/miniconda/bin/python" | ||
|
||
before_install: | ||
- chmod +x travis_setup.sh | ||
- ./travis_setup.sh | ||
- pip install --user phate | ||
|
||
r_packages: | ||
- Matrix | ||
- ggplot2 | ||
- reticulate | ||
- devtools | ||
- gridGraphics | ||
- cowplot | ||
|
||
warnings_are_errors: true |
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# install python | ||
if [[ $TRAVIS_OS_NAME == "linux" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh | ||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh | ||
fi | ||
|
||
bash miniconda.sh -b -p $HOME/miniconda | ||
hash -r | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda info -a | ||
pip install --upgrade pip |