summaryrefslogtreecommitdiff
path: root/.ci/travis/run.sh
blob: eb92ee8b62ee52c7b578ba702ca8ac8cc45808f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e
set -x

if [[ "$(uname -s)" == 'Darwin' ]]; then
    if which pyenv > /dev/null; then
        eval "$(pyenv init -)"
    fi
    pyenv activate pysendfile
fi

python setup.py build
python setup.py develop
python test/test_sendfile.py
flake8