Left: | ||
Right: |
OLD | NEW |
---|---|
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 | 2 |
3 . .travis/activate-nodejs.sh | 3 . .travis/activate-nodejs.sh |
4 | 4 |
5 set -x | 5 set -x |
6 set -e | 6 set -e |
7 | 7 |
8 PATH=${PATH}:${TRAVIS_BUILD_DIR}/third_party/ninja:$(python3 -c "import sysconfi g;print(sysconfig.get_paths('posix_user')['scripts'])") | 8 PATH=${PATH}:${TRAVIS_BUILD_DIR}/third_party/ninja:$(python3 -c "import sysconfi g;print(sysconfig.get_paths('posix_user')['scripts'])") |
9 | 9 |
10 meson --buildtype ${BUILDTYPE} build | 10 meson --buildtype ${BUILDTYPE} build/js |
11 ninja -C build | 11 ninja -C build/js |
12 npm test | 12 npm test |
13 | |
14 USE_ASAN=true | |
15 if [[ "${BUILDTYPE}" == "release" ]]; then | |
16 USE_ASAN=false | |
17 fi | |
18 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native | |
19 ninja -C build/native | |
20 ./build/native/abptest | |
hub
2018/03/05 15:35:24
`ninja -C build/native test` is enough to build an
sergei
2018/03/05 15:58:16
This is a cool feature but it hides the output of
| |
OLD | NEW |