Skip to content

Commit

Permalink
setup + testing
Browse files Browse the repository at this point in the history
  • Loading branch information
adbar committed Sep 25, 2019
1 parent 7b34639 commit 3386cb2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
sudo: false
language: python
# dist: xenial

matrix:
include:
- name: "Python 3.4 on Linux"
os: linux
python: 3.4
env: TOXENV=py34
- name: "Python 3.5 on Linux"
os: linux
python: 3.5
Expand All @@ -31,7 +28,6 @@ matrix:
# 'python:' is ignored on Travis CI macOS
before_install: python3 --version ; pip3 --version ; sw_vers; pip3 install codecov tox
allow_failures:
- python: "3.8-dev"
- os: osx
# fast_finish: true

Expand All @@ -58,6 +54,7 @@ notifications:
#cache:
# pip: true


# os:
# - windows # not supported
# https://github.com/cclauss/Travis-CI-Python-on-three-OSes/blob/master/.travis.yml
# https://github.com/cclauss/Travis-CI-Python-on-three-OSes/blob/master/.travis.yml
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
---
environment:
matrix:
# - TOXENV: py34
- TOXENV: py35
- TOXENV: py36
- TOXENV: py37
- TOXENV: py38

build: off

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"""


import os
from os import path
from io import open
from setuptools import setup # find_packages,

#try:
Expand All @@ -15,7 +16,7 @@
# from distutils.core import setup


here = os.path.abspath(os.path.dirname(__file__))
here = path.abspath(path.dirname(__file__))
packages = ['trafilatura']

# some problems with installation solved this way
Expand All @@ -28,7 +29,7 @@


def readme():
with open(os.path.join(here, 'README.rst'), 'r', encoding='utf-8') as readmefile:
with open(path.join(here, 'README.rst'), 'r', encoding='utf-8') as readmefile:
return readmefile.read()

setup(
Expand Down

0 comments on commit 3386cb2

Please sign in to comment.