From 8c7a3bad153df422252f29f0fffb317a37f38918 Mon Sep 17 00:00:00 2001 From: Clifton Barnes Date: Tue, 17 Dec 2019 10:34:12 -0500 Subject: [PATCH] Run tests for python 2 and 3 --- .travis.yml | 13 +++++++------ Makefile | 6 ++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 425a5c3..e2d474b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,15 @@ language: python -python: - - "2.7" -env: - - DJANGO=1.3 - - DJANGO=1.4 +jobs: + include: + - python: "2.7" + env: PYVER=2.7 + - python: "3.6" + env: PYVER=3.6 before_install: - sudo apt-get update -qq - sudo apt-get install -qq libarchive-dev install: - - pip install . + - make build script: - make test notifications: diff --git a/Makefile b/Makefile index 0b9ca94..d941090 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +build: + make -C libarchive + test: python tests.py @@ -11,3 +14,6 @@ install: publish: python setup.py register python setup.py sdist upload + +clean: + make -C libarchive clean