Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: .travis/travis-script.sh

Issue 29714583: Issue 6220 - include running of native tests on travis-ci for emscripten (Closed) Base URL: github.com:adblockplus/adblockpluscore
Patch Set: Created March 5, 2018, 3:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld