travis: Move MAKEFLAGS to .travis.yml
This commit is contained in:
parent
c900a9958d
commit
6cee262225
@ -5,6 +5,7 @@ language: cpp
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- JOBS=4
|
- JOBS=4
|
||||||
|
- MAKEFLAGS="-j ${JOBS}"
|
||||||
- POLYBAR_BUILD_TYPE="compile"
|
- POLYBAR_BUILD_TYPE="compile"
|
||||||
|
|
||||||
script: source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
|
script: source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "${TRAVIS_BUILD_DIR}/build" || false
|
cd "${TRAVIS_BUILD_DIR}/build" || false
|
||||||
make -j"${JOBS}" || exit $?
|
make || exit $?
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
r=0
|
r=0
|
||||||
|
|
||||||
make -j"${JOBS}" all_unit_tests
|
make all_unit_tests
|
||||||
|
|
||||||
for test in tests/unit_test.*; do
|
for test in tests/unit_test.*; do
|
||||||
[ -x "$test" ] || continue
|
[ -x "$test" ] || continue
|
||||||
|
Loading…
Reference in New Issue
Block a user