Skip to content

Commit

Permalink
Revert "Setup CI with Github Actions (#1347)"
Browse files Browse the repository at this point in the history
This reverts commit 0b38fad.
  • Loading branch information
sdispater committed Sep 10, 2019
1 parent 3c7592c commit be03ab9
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 101 deletions.
28 changes: 28 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
build: false

environment:
PYTHONIOENCODING: "UTF-8"

matrix:
- PYTHON: "C:/Python27-x64"
- PYTHON: "C:/Python35-x64"
- PYTHON: "C:/Python36-x64"
- PYTHON: "C:/Python37-x64"


install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

# Upgrade to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "python -m pip install --disable-pip-version-check --user pip==18.1"

# Installing Poetry
- "python get-poetry.py --preview -y"
- "SET PATH=%USERPROFILE%\\.poetry\\bin;%PATH%"

# Install dependencies
- "poetry install -v"

test_script:
- "poetry run pytest --cov=poetry tests/ -W ignore"
96 changes: 0 additions & 96 deletions .github/workflows/main.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ repos:
rev: stable
hooks:
- id: black
language_version: python3.6
python_version: python3.6
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
language: python

stages:
- linting
- test

cache:
pip: true
directories:
- "$HOME/.cache/pypoetry"
- "$HOME/.cache/pre-commit"

install:
- pip install pip==18.1
- python get-poetry.py --preview -y
- source $HOME/.poetry/env
- poetry install -v

script: pytest -q tests/

jobs:
include:
- python: "2.7"
- python: "3.5"
- python: "3.6"
- python: "3.7"
dist: xenial

- stage: linting
python: "3.6"
install:
- pip install pre-commit
- pre-commit install-hooks
script:
- pre-commit run --all-files
8 changes: 4 additions & 4 deletions tests/masonry/builders/test_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def clear_samples_dist():


@pytest.mark.skipif(
sys.platform == "win32" and sys.version_info <= (3, 6),
reason="Disable test on Windows for Python <=3.6",
sys.platform == "win32" and sys.version_info <= (3, 4),
reason="Disable test on Windows for Python <=3.4",
)
def test_wheel_c_extension():
module_path = fixtures_dir / "extended"
Expand Down Expand Up @@ -94,8 +94,8 @@ def test_wheel_c_extension():


@pytest.mark.skipif(
sys.platform == "win32" and sys.version_info <= (3, 6),
reason="Disable test on Windows for Python <=3.6",
sys.platform == "win32" and sys.version_info <= (3, 4),
reason="Disable test on Windows for Python <=3.4",
)
def test_wheel_c_extension_src_layout():
module_path = fixtures_dir / "src_extended"
Expand Down

0 comments on commit be03ab9

Please sign in to comment.