File: osx_run_tests.sh

package info (click to toggle)
python-plyer 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,724 kB
  • sloc: python: 13,395; sh: 217; makefile: 177
file content (14 lines) | stat: -rwxr-xr-x 316 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ "$TRAVIS_OS_NAME" = "osx" ]
then
    source env/bin/activate
    pip install --editable .
    coverage run \
        --source ./plyer \
        -m unittest discover \
            --start-directory ./plyer/tests \
            --top-level-directory . \
            --failfast
    coverage report -m
fi