-
-
Notifications
You must be signed in to change notification settings - Fork 98
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 #117 from astronouth7303/circleci-20-test
Adds CI
- Loading branch information
Showing
3 changed files
with
61 additions
and
1 deletion.
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,39 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- os: linux | ||
python: 3.6 | ||
- os: linux | ||
language: generic | ||
env: PYTHON="3.7" MINICONDA_OS="Linux" | ||
- os: linux | ||
python: nightly | ||
- os: osx | ||
language: generic | ||
env: PYTHON="3.6" MINICONDA_OS="MacOSX" | ||
- os: osx | ||
language: generic | ||
env: PYTHON="3.7" MINICONDA_OS="MacOSX" | ||
allow_failures: | ||
- python: "nightly" | ||
|
||
before_install: | ||
- if [[ $MINICONDA_OS ]]; then | ||
URL="https://repo.continuum.io/miniconda/Miniconda3-latest-${MINICONDA_OS}-x86_64.sh"; | ||
wget "${URL}" -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; | ||
conda info -a; | ||
conda create -q -n test-environment python=$PYTHON; | ||
source activate test-environment; | ||
fi; | ||
|
||
install: | ||
- pip install -e .; | ||
- pip install pytest; | ||
|
||
script: | ||
- pytest |
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 @@ | ||
environment: | ||
|
||
matrix: | ||
# https://www.appveyor.com/docs/windows-images-software/#python | ||
- PYTHON: "C:\\Python36" | ||
- PYTHON: "C:\\Python37" | ||
- PYTHON: "C:\\Python36-x64" | ||
- PYTHON: "C:\\Python37-x64" | ||
|
||
install: | ||
- '%PYTHON%\Scripts\pip install -e .' | ||
- '%PYTHON%\Scripts\pip install pytest' | ||
build: off | ||
test_script: | ||
- '%PYTHON%\Scripts\pytest' |
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