-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
183 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# we don't use travis python virtualenv | ||
language: python | ||
virtualenv: | ||
system_site_packages: true | ||
|
||
dist: trusty # use ubuntu 14.04lts | ||
sudo: false # runs each build in a container on a shared host via Docker | ||
|
||
# shallow clone | ||
git: | ||
depth: 3 | ||
|
||
before_script: | ||
- sleep 5 | ||
|
||
after_script: conda remove --name xenonpy --all | ||
|
||
# install miniconda | ||
install: source travis_install.sh | ||
|
||
script: | ||
- python -m unittest discover | ||
|
||
env: | ||
- PYTHON_VERSION="3.5" | ||
- PYTHON_VERSION="3.6" |
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,4 +1,4 @@ | ||
name: XenonPy | ||
name: xenonpy | ||
channels: | ||
- defaults | ||
- pytorch | ||
|
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,19 @@ | ||
name: xenonpy | ||
channels: | ||
- defaults | ||
- pytorch | ||
dependencies: | ||
- python=3.5 | ||
- numpy=1.* | ||
- pandas | ||
- seaborn | ||
- urllib3 | ||
- matplotlib=2.* | ||
- scikit-learn | ||
- scipy | ||
- pytorch | ||
- torchvision | ||
- pyyaml | ||
- pip: | ||
- pymonad | ||
- pymatgen |
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,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This script is meant to be called by the "install" step defined in | ||
# .travis.yml. See http://docs.travis-ci.com/ for more details. | ||
# The behavior of the script is controlled by environment variabled defined | ||
# in the .travis.yml in the top level folder of the project. | ||
|
||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
hash -r | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
# Useful for debugging any issues with conda | ||
conda info -a | ||
|
||
if [[ "$PYTHON_VERSION" == "3.5" ]]; then | ||
conda create -f environment_py35.yml | ||
else | ||
conda create -f environment.yml | ||
fi | ||
|
||
source activate xenonpy | ||
#python setup.py install |