Skip to content

Commit

Permalink
enable Travis CI and AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Sep 7, 2018
1 parent 94a8627 commit 3f4059d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
@@ -0,0 +1,18 @@
language: python
python: "3.5"
dist: trusty
sudo: true
before_install:
- sudo apt update && sudo apt install -y enchant
install:
- pip install -U setuptools
# install_requires
- pip install -U git+https://github.com/colcon/colcon-core
- pip install -U PyYAML
# tests_require
- pip install -U flake8-blind-except flake8-builtins flake8-class-newline flake8-comprehensions flake8-deprecated flake8-docstrings flake8-quotes pep8-naming pyenchant pylint pytest pytest-cov
script:
# invoke pytest
- pytest --cov=colcon_mixin --cov-branch
notifications:
email: false
15 changes: 15 additions & 0 deletions appveyor.yml
@@ -0,0 +1,15 @@
version: '{build}'
environment:
matrix:
- PYTHON: "C:\\Python35-x64"
install:
- "%PYTHON%\\python.exe -m pip install -U setuptools"
# install_requires
- "%PYTHON%\\python.exe -m pip install -U git+https://github.com/colcon/colcon-core"
- "%PYTHON%\\python.exe -m pip install -U PyYAML"
# tests_require, except pyenchant
- "%PYTHON%\\python.exe -m pip install -U flake8-blind-except flake8-builtins flake8-class-newline flake8-comprehensions flake8-deprecated flake8-docstrings flake8-quotes pep8-naming pylint pytest pytest-cov"
build: off
test_script:
# invoke pytest
- "%PYTHON%\\python.exe -m pytest --cov=colcon_mixin --cov-branch"

0 comments on commit 3f4059d

Please sign in to comment.