Travis: Use two cores to run make
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 12 Feb 2019 12:17:36 +0000 (13:17 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 12 Feb 2019 12:17:36 +0000 (13:17 +0100)
Travis instances have two cores, see https://docs.travis-ci.com/user/reference/overview/#virtualization-environments

.travis.yml

index 18f2c16..39cc222 100644 (file)
@@ -4,9 +4,10 @@ language: c
 
 env:
   global:
-   # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
-   # via the "travis encrypt" command using the project repo's public key
-   - secure: "ZdWWp0XX3C4sLIp4lqeQTWC7vt+GsWjmyRiD17T9833NBAW4dddz310I6iyeXe6oX09ZFFiVIN4ogx9ANcNBx9jriGXI2/82nBhpxOJBebet8JCNS5VeTr4rDSfQOKP+Oc+ko5KbbghTuAtO2CFYiH3jZUcn4TdsYbVanf+TwUs="
+    - MAKEFLAGS="-j 2"
+    # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
+    # via the "travis encrypt" command using the project repo's public key
+    - secure: "ZdWWp0XX3C4sLIp4lqeQTWC7vt+GsWjmyRiD17T9833NBAW4dddz310I6iyeXe6oX09ZFFiVIN4ogx9ANcNBx9jriGXI2/82nBhpxOJBebet8JCNS5VeTr4rDSfQOKP+Oc+ko5KbbghTuAtO2CFYiH3jZUcn4TdsYbVanf+TwUs="
 
 matrix:
   include: