summaryrefslogtreecommitdiff
path: root/.ci/travis/run.sh
blob: 53f30882c2f7ab1ebbc206c4417be68185fd357f (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 psutil
fi

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