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

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

Issue 29721753: Issue 6180 - use ABP_TEXT everywhere in order to let String be a UTF-8 string (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git@adb2678354813ce5b6de095072954c5a784a7bc4
Patch Set: rebase Created March 15, 2018, 1:53 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 | compiled/ElemHide.cpp » ('j') | 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/js 10 meson --buildtype ${BUILDTYPE} build/js
11 ninja -C build/js 11 ninja -C build/js
12 npm test 12 npm test
13 13
14 USE_ASAN=true 14 USE_ASAN=true
15 if [[ "${BUILDTYPE}" == "release" ]]; then 15 if [[ "${BUILDTYPE}" == "release" ]]; then
16 USE_ASAN=false 16 USE_ASAN=false
17 fi 17 fi
18 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native 18 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native
19 ninja -C build/native 19 ninja -C build/native
20 ./build/native/abptest 20 ./build/native/abptest
21 21
22 CPPFLAGS=-DABP_USER_CONFIG='\"../test/compiled/user-config-test-namespace.h\"' \ 22 CPPFLAGS=-DABP_USER_CONFIG='\"../test/compiled/user-config-test-namespace.h\"' \
23 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native-tes t-namespace 23 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native-tes t-namespace
24 ninja -C build/native-test-namespace 24 ninja -C build/native-test-namespace
25 ./build/native-test-namespace/abptest 25 ./build/native-test-namespace/abptest
26
27 CPPFLAGS=-DABP_USER_CONFIG='\"../test/compiled/user-config-test-abp-utf8-string. h\"' \
28 meson -Dnative=true -Dasan=${USE_ASAN} --buildtype ${BUILDTYPE} build/native-tes t-utf8-string
29 ninja -C build/native-test-utf8-string
30 ./build/native-test-utf8-string/abptest
OLDNEW
« no previous file with comments | « no previous file | compiled/ElemHide.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld