Browse Source

Run tests for python 2 and 3

test_fixup
Clifton Barnes 5 years ago
parent
commit
8c7a3bad15
No known key found for this signature in database GPG Key ID: 4D011A1BC4B239D7
2 changed files with 13 additions and 6 deletions
  1. +7
    -6
      .travis.yml
  2. +6
    -0
      Makefile

+ 7
- 6
.travis.yml View File

@@ -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:


+ 6
- 0
Makefile View File

@@ -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

Loading…
Cancel
Save