Skip to content

Commit 80c2036

Browse files
authored
Create travis-before-install.sh
1 parent 78809e0 commit 80c2036

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

tools/travis-before-install.sh

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/bin/bash
2+
3+
# Exit the script immediately if a command exits with a non-zero status,
4+
# and print commands and their arguments as they are executed.
5+
set -ex
6+
7+
# Print resource information
8+
uname -a
9+
free -m
10+
df -h
11+
ulimit -a
12+
13+
mkdir builds
14+
pushd builds
15+
16+
# Build into own virtualenv
17+
pip install -U virtualenv
18+
19+
virtualenv --python=python venv
20+
21+
source venv/bin/activate
22+
python -V
23+
gcc --version
24+
25+
popd
26+
27+
pip install --upgrade pip
28+
29+
pip install setuptools wheel
30+
31+
32+
33+
34+

0 commit comments

Comments
 (0)