OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 | 2 |
3 if [[ -z ${NVM_DIR} ]]; then | 3 if [[ -z ${NVM_DIR} ]]; then |
4 NVM_DIR=${HOME}/.nvm | 4 NVM_DIR=${HOME}/.nvm |
5 fi | 5 fi |
6 | 6 |
7 . ${NVM_DIR}/nvm.sh | 7 . ${NVM_DIR}/nvm.sh |
8 | 8 |
9 nvm install 8.9.4 | 9 nvm install 8.9.4 |
10 nvm alias default 8.9.4 | 10 nvm alias default 8.9.4 |
11 | 11 |
12 set -x | 12 set -x |
13 set -e | 13 set -e |
14 | 14 |
15 mkdir -p third_party | 15 mkdir -p third_party |
| 16 pip3 install -q --user meson |
| 17 pip3 install -q --user virtualenv |
| 18 python3 -m virtualenv -p python2 third_party/python2 |
16 bash .travis/prepare-emscripten.sh | 19 bash .travis/prepare-emscripten.sh |
17 bash .travis/prepare-ninja.sh | 20 bash .travis/prepare-ninja.sh |
18 pip3 install -q --user meson | |
OLD | NEW |