1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

fix travis tests

This commit is contained in:
Mike Fährmann 2018-03-19 18:07:19 +01:00
parent 8ef790de12
commit d75dc71394
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 3 additions and 5 deletions

View File

@ -9,7 +9,7 @@ env:
matrix:
include:
- python: "3.6"
- env: GALLERYDL_TESTS=results
env: GALLERYDL_TESTS=results
sudo: false
git:

View File

@ -1,9 +1,7 @@
#!/bin/bash
ROOTDIR="$(realpath "$(dirname "$0")/..")/"
TESTS_CORE=(config cookies oauth text util)
TESTS_RESULTS=(extractors)
TESTS_RESULTS=(results)
# select tests
@ -21,4 +19,4 @@ TESTS=( ${TESTS[@]/%/.py} )
# run 'nosetests' with selected tests
# (or all tests if ${TESTS} is empty)
nosetests --verbose -w "${ROOTDIR}/test/" ${TESTS[@]}
nosetests --verbose -w test ${TESTS[@]}