Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyabsk committed Jun 27, 2019
2 parents 7aa94d7 + d1f0573 commit 9e4eb94
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 160 deletions.
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ Foreshadow is an automatic pipeline generation tool that makes creating, iterati
and evaluating machine learning pipelines a fast and intuitive experience allowing
data scientists to spend more time on data science and less time on code.

.. |BuildStatus| image:: https://travis-ci.org/georgianpartners/foreshadow.svg?branch=master
:target: https://travis-ci.org/georgianpartners/foreshadow
:alt: Build Status
.. |BuildStatus| image:: https://dev.azure.com/georgianpartners/foreshadow/_apis/build/status/georgianpartners.foreshadow?branchName=master
:target: https://dev.azure.com/georgianpartners/foreshadow/_build/latest?definitionId=1&branchName=master

.. |DocStatus| image:: https://readthedocs.org/projects/foreshadow/badge/?version=latest
:target: https://foreshadow.readthedocs.io/en/latest/?badge=latest
Expand Down
52 changes: 52 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
trigger:
- master
- development

pr:
branches:
include:
- '*'

jobs:
# QA
- job: lint
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: ci/lint.yml

# Linux
# TODO: Turn off Linux Testing until https://github.com/sdispater/poetry/issues/1197 is resolved
# - job: install_linux
# dependsOn: lint
# pool:
# vmImage: 'ubuntu-16.04'
# strategy:
# matrix:
# Python36:
# python.version: '3.6'
# steps:
# - bash: |
# sudo apt update
# sudo apt install swig3.0
# sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
# displayName: Install swig on Linux
# - template: ci/install.yml
# - template: ci/tests.yml

#MacOS
- job: install_macos
dependsOn: lint
pool:
vmImage: 'macOS-10.13'
strategy:
matrix:
Python36:
python.version: '3.6'
steps:
- script: |
brew install swig
brew install gcc@5
displayName: Install Brew packages
- template: ci/install.yml
- template: ci/tests.yml
17 changes: 17 additions & 0 deletions ci/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
- script: |
pip install --upgrade pip
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
displayName: Install Poetry
- script: $HOME/.poetry/bin/poetry install -vvv -E dev
condition: eq( variables['Agent.OS'], 'Linux' )
displayName: Install all packages (Linux)
- script: |
$HOME/.poetry/bin/poetry install -vvv
export CC=gcc-5; export CXX=g++-5; $HOME/.poetry/bin/poetry install -vvv -E dev
condition: eq( variables['Agent.OS'], 'Darwin' )
displayName: Install all packages (MacOS)
9 changes: 9 additions & 0 deletions ci/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
- script: |
pip install pre-commit
pre-commit install-hooks
pre-commit run --all-files
displayName: Running pre-commit on all files
11 changes: 11 additions & 0 deletions ci/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
steps:
- script: $HOME/.poetry/bin/poetry run pytest
env:
FORESHADOW_TESTS: ALL
displayName: Run pytest
# TODO: Switch back to 'Linux' when https://github.com/sdispater/poetry/issues/1197 is resolved
- script: $HOME/.poetry/bin/poetry run coveralls
condition: and(succeeded(), eq( variables['Agent.OS'], 'Darwin' ))
env:
COVERALLS_REPO_TOKEN: $(coveralls_token)
displayName: Submit coveralls report

0 comments on commit 9e4eb94

Please sign in to comment.