Skip to content

Commit 6312b56

Browse files
authored
Create travis-test.sh
1 parent 80c2036 commit 6312b56

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tools/travis-test.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
5+
source builds/venv/bin/activate
6+
7+
# travis venv tests override python
8+
PYTHON=${PYTHON:-python}
9+
PIP=${PIP:-pip}
10+
11+
setup_base()
12+
{
13+
$PIP install -v .
14+
}
15+
16+
run_test()
17+
{
18+
export PYTHONWARNINGS="ignore::DeprecationWarning:virtualenv"
19+
}

0 commit comments

Comments
 (0)