mirror of
https://github.com/polybar/polybar.git
synced 2024-11-25 13:55:47 -05:00
travis: Move MAKEFLAGS to .travis.yml
This commit is contained in:
parent
c900a9958d
commit
6cee262225
3 changed files with 3 additions and 2 deletions
|
@ -5,6 +5,7 @@ language: cpp
|
|||
env:
|
||||
global:
|
||||
- JOBS=4
|
||||
- MAKEFLAGS="-j ${JOBS}"
|
||||
- POLYBAR_BUILD_TYPE="compile"
|
||||
|
||||
script: source ${TRAVIS_BUILD_DIR}/common/travis/build.sh
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
cd "${TRAVIS_BUILD_DIR}/build" || false
|
||||
make -j"${JOBS}" || exit $?
|
||||
make || exit $?
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
r=0
|
||||
|
||||
make -j"${JOBS}" all_unit_tests
|
||||
make all_unit_tests
|
||||
|
||||
for test in tests/unit_test.*; do
|
||||
[ -x "$test" ] || continue
|
||||
|
|
Loading…
Reference in a new issue