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:
parent
8ef790de12
commit
d75dc71394
@ -9,7 +9,7 @@ env:
|
||||
matrix:
|
||||
include:
|
||||
- python: "3.6"
|
||||
- env: GALLERYDL_TESTS=results
|
||||
env: GALLERYDL_TESTS=results
|
||||
|
||||
sudo: false
|
||||
git:
|
||||
|
@ -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[@]}
|
||||
|
Loading…
Reference in New Issue
Block a user