mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
New integration tests using webrecorder-tests: - WR_TEST=true is set for integration test run (only run with py3.6, excluded for py2.7, 3.5) - Added .travis directory that includes two scripts: install.sh and test.sh. - install.sh handles all installation and test.sh handles running of unit or integration tests - sudo: true required to run headless chrome
11 lines
186 B
Bash
Executable File
11 lines
186 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "$WR_TEST" = "no" ]; then
|
|
python setup.py test
|
|
cd karma-tests && make test && cd ..
|
|
else
|
|
cd webrecorder-tests
|
|
INTRAVIS=1 pytest -m "pywbtest"
|
|
fi
|