1
0
Fork 0
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:
patrick96 2018-04-08 15:29:31 +02:00 committed by NBonaparte
parent c900a9958d
commit 6cee262225
3 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -1,3 +1,3 @@
#!/bin/bash
cd "${TRAVIS_BUILD_DIR}/build" || false
make -j"${JOBS}" || exit $?
make || exit $?

View file

@ -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