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

Commit

Permalink
Command Line Driver (#49)
Browse files Browse the repository at this point in the history
* Add command line driver
* Update dependency requirements
* Patch auto estimator configuration bugs for auto-sklearn
  • Loading branch information
alexrallen authored and adithyabsk committed Jun 28, 2019
1 parent c2f1079 commit fa9e9cc
Show file tree
Hide file tree
Showing 20 changed files with 49,641 additions and 65 deletions.
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: python
cache:
pip: true
directories:
- "$HOME/.cache/pypoetry"
- "$HOME/.cache/pre-commit"
stages:
- linting
- test
jobs:
include:
- stage: linting
python: "3.6"
install:
- pip install pre-commit
- pre-commit install-hooks
script:
- pre-commit run --all-files
- stage: test
python: "3.6"
env:
- FORESHADOW_TESTS="ALL"
before_install:
# linux
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt update; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt install swig3.0; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s /usr/bin/swig3.0 /usr/bin/swig; fi
- pip install --upgrade pip
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
install:
- poetry install -v -E dev
script:
- poetry run tox
after_success:
- poetry run coveralls
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ clean:
test:
poetry run tox -r

.PHONY: test clean
coverage:
coverage html; open htmlcov/index.html

.PHONY: test clean coverage
2 changes: 2 additions & 0 deletions ci/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ steps:
- script: $HOME/.poetry/bin/poetry install -vvv -E dev
condition: eq( variables['Agent.OS'], 'Linux' )
displayName: Install all packages (Linux)
# TODO: Fix manual patch for pyrfr after https://github.com/automl/auto-sklearn/issues/688 is closed
- script: |
$HOME/.poetry/bin/poetry install -vvv
export CC=gcc-5; export CXX=g++-5; $HOME/.poetry/bin/poetry install -vvv -E dev
export CC=gcc-5; export CXX=g++-5; pip install --upgrade pyrfr
condition: eq( variables['Agent.OS'], 'Darwin' )
displayName: Install all packages (MacOS)

0 comments on commit fa9e9cc

Please sign in to comment.