-
Notifications
You must be signed in to change notification settings - Fork 30
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 #78 from kyleabeauchamp/travis
[WIP] Simplify travis logic
- Loading branch information
Showing
13 changed files
with
88 additions
and
53 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
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,14 +1,20 @@ | ||
sudo apt-get update | ||
sudo apt-get install -qq -y g++ gfortran csh | ||
sudo apt-get install -qq -y g++-multilib gcc-multilib openbabel | ||
wget http://repo.continuum.io/miniconda/Miniconda-3.6.0-Linux-x86_64.sh | ||
bash Miniconda-3.6.0-Linux-x86_64.sh -b | ||
MINICONDA=Miniconda-latest-Linux-x86_64.sh | ||
MINICONDA_MD5=$(curl -s http://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *<td>\(.*\)<\/td> */\1/p') | ||
wget http://repo.continuum.io/miniconda/$MINICONDA | ||
if [[ $MINICONDA_MD5 != $(md5sum $MINICONDA | cut -d ' ' -f 1) ]]; then | ||
echo "Miniconda MD5 mismatch" | ||
exit 1 | ||
fi | ||
bash $MINICONDA -b | ||
PIP_ARGS="-U" | ||
|
||
export PATH=$HOME/miniconda/bin:$PATH | ||
|
||
sudo apt-get update | ||
sudo apt-get install -qq -y g++ gfortran csh g++-multilib gcc-multilib openbabel | ||
|
||
conda update --yes conda | ||
conda config --add channels http://conda.binstar.org/omnia | ||
conda config --add channels https://conda.binstar.org/ric | ||
conda create --yes -n ${python} python=${python} --file devtools/ci/requirements-conda.txt | ||
conda config --add channels https://conda.binstar.org/rdkit | ||
source activate $python | ||
conda install --yes conda-build |
This file was deleted.
Oops, something went wrong.
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,10 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cp -r $RECIPE_DIR/../.. $SRC_DIR | ||
$PYTHON setup.py clean | ||
$PYTHON setup.py install | ||
|
||
# Add more build steps here, if they are necessary. | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html | ||
# for a list of environment variables that are set during the build process. |
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,28 +1,48 @@ | ||
package: | ||
name: gaff2xml | ||
version: !!str dev | ||
name: gaff2xml-dev | ||
version: !!str 3.0.0 | ||
|
||
#source: | ||
# fn: master.zip | ||
# url: https://github.com/choderalab/gaff2xml/archive/master.zip | ||
|
||
build: | ||
preserve_egg_dir: True | ||
number: 0 | ||
|
||
requirements: | ||
build: | ||
- python | ||
- cython | ||
- setuptools | ||
- mdtraj | ||
- numpy | ||
- scipy | ||
- setuptools | ||
- mdtraj-dev | ||
- openmm | ||
- ambermini | ||
|
||
- pandas | ||
- openmm | ||
- ambermini | ||
- jinja2 | ||
# - rdkit # rdkit is an optional dependency, may want to comment this out for the release version. | ||
run: | ||
- python | ||
- setuptools | ||
- pandas | ||
- six | ||
- mdtraj | ||
- numpydoc | ||
- scipy | ||
- mdtraj-dev | ||
- openmm | ||
- ambermini | ||
- openmm | ||
- ambermini | ||
- jinja2 | ||
# - rdkit # rdkit is an optional dependency, may want to comment this out for the release version. | ||
|
||
test: | ||
requires: | ||
- nose | ||
imports: | ||
- gaff2xml | ||
commands: | ||
- nosetests gaff2xml -v | ||
|
||
about: | ||
home: https://github.com/choderalab/gaff2xml | ||
license: GNU Lesser General Public License v2 or later (LGPLv2+) | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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