-
Notifications
You must be signed in to change notification settings - Fork 18
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 #95 from pllim/azure-ci
Azure setup
- Loading branch information
Showing
2 changed files
with
54 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# This is the CI matrix that runs per push event | ||
# for tests not requiring big data. | ||
|
||
trigger: | ||
- master | ||
|
||
jobs: | ||
- job: 'EggInfo' | ||
pool: | ||
vmImage: 'Ubuntu-16.04' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
|
||
# Make sure that egg_info works without dependencies | ||
- script: | | ||
python -m pip install --upgrade pip setuptools | ||
python setup.py egg_info | ||
displayName: 'egg_info' | ||
- job: 'PEP8' | ||
pool: | ||
vmImage: 'Ubuntu-16.04' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '3.x' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip setuptools | ||
pip install flake8 | ||
flake8 acstools --count | ||
displayName: 'PEP 8 check' | ||
- job: 'Doc' | ||
pool: | ||
vmImage: 'Ubuntu-16.04' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '3.6' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip setuptools | ||
pip install numpydoc matplotlib sphinx-automodapi sphinx_rtd_theme | ||
python setup.py install | ||
cd doc | ||
make html | ||
displayName: 'Doc build' |