-
Notifications
You must be signed in to change notification settings - Fork 16
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 #17 from jbae11/class-array
Class array
- Loading branch information
Showing
80 changed files
with
20,467 additions
and
2,968 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 |
---|---|---|
@@ -1,34 +1,35 @@ | ||
language: python | ||
sudo: false | ||
|
||
deploy: | ||
provider: pypi | ||
user: arokem | ||
password: | ||
secure: U8Bfe8mXUSp5HYzGsyJfLuVzu+uEt6hid6AQb+HafJMHhhmoiX4cL8IH1xYaT/ZDXR02IO5bpQpjLLvKizDCXrfEgM/YTWhi1lldVh8O6cdP0gBeNfYNQz0qmbWhJFGzN+ad4VXBXrCVIPtF88mmowzRr6P0vLHW8GudSPInJKl6ofUwJDkOOFL6tqAiSLTIlwQQtvKTMqxCAQ3U+kliznpbbjFJSCjf29IQ/tUqzflbKmVdpr5nXCwVONNnydnY8fFK9Vrhl2UchFKjE5KbfoYxFs9udhlgxZMoKSDmTcvhhjwZ7HN8WPABxvY+IvrDi+CUjFDKBKZhSan0fQBfc8aMN0YVE2/TtEJXwsA9g4c3/BkcoF532mc7e2dzExQwOh/xS/iLPhn0qtf+VQn7po7iXwSMbpPIqEOYbgpaWXzgo0Pf5O5Q0pKzuXpcN4femZ1hEtTZ9f13LHuyjLPN9GAZjQmdUGbIkPFY/bbu6ssbkcgKZTABODln68LOnLDQGqpog5bYQ9Myr5mLhF3duLjnoZIcuReyQ7Ed8Z7bcNeiu7t4PAWbgm2DJ3VrUkzq24iUvGedwh3Eqr4eQnedrk2Bn3+rqVv00FjX9elmR7S3TJ4l4jPkfg8R48tDan6wGqhu3s2S97MSmgi+/gWDAEpTBHaHc5DuZ4TcJXTb3To= | ||
on: | ||
tags: true | ||
repo: uwescience/saltproc | ||
|
||
env: | ||
global: | ||
- PIP_DEPS="pytest coveralls pytest-cov flake8" | ||
|
||
python: | ||
- '2.7' | ||
- '3.6' | ||
|
||
- 2.7 | ||
- 3.6 | ||
|
||
# Setup anaconda | ||
install: | ||
- travis_retry pip install $PIP_DEPS | ||
- travis_retry pip install -r requirements.txt | ||
- travis_retry pip install -e . | ||
- sudo apt-get install libhdf5-serial-dev | ||
- sudo apt-get install gfortran | ||
- sudo apt-get install gcc | ||
- sudo apt-get install build-essential | ||
- sudo apt-get install cmake | ||
- sudo apt-get install libblas-dev | ||
- sudo apt-get install liblapack-dev | ||
- sudo apt-get install git | ||
- sudo apt-get update | ||
- 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 $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 | ||
- conda install -c anaconda h5py | ||
- conda install -c conda-forge pyne | ||
- conda install -c anaconda pytest | ||
|
||
# run | ||
script: | ||
- flake8 --ignore N802,N806 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /doc/` | ||
- mkdir for_test | ||
- cd for_test | ||
- py.test --pyargs saltproc --cov-report term-missing --cov=saltproc | ||
|
||
after_success: | ||
- coveralls | ||
- pytest ./saltproc/tests/saltproc_test.py |
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 was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.