This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Adjust travis.yaml configuration for blead merges.
authorNicolas R <atoomic@cpan.org>
Thu, 9 Nov 2017 16:46:43 +0000 (09:46 -0700)
committerTodd Rinaldo <toddr@cpan.org>
Fri, 10 Nov 2017 20:55:13 +0000 (14:55 -0600)
- Unset PERL_BUILD_PACKAGING during builds
- Set JOBS to indicate how parallel we want builds to be (4)
- Assure tags are fetched to allow t/porting/cmp_version.t to build.

.travis.yml

index aeee619..76a7adc 100644 (file)
@@ -8,9 +8,12 @@ compiler:
   - gcc
   - clang
 
+install:
+  - git fetch --unshallow --tags # t/porting/cmp_version.t
+
 env:
     global:
-        - PERL_BUILD_PACKAGING=1
+        - JOBS=4
     matrix:
         - CONFIGURE_ARGS='-Uusethreads'
         - CONFIGURE_ARGS='-Dusethreads'
@@ -23,7 +26,7 @@ matrix:
     os: osx
 
 script:
-  - ./Configure -des -Dusedevel -Uversiononly -Dcc=$CC $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING && TEST_JOBS=8 make -j8 test_harness_notty && make -j8 install && $HOME/perl-blead/bin/perlivp
+  - ./Configure -des -Dusedevel -Uversiononly -Dcc=$CC $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING && TEST_JOBS=$JOBS make -j$JOBS test_harness_notty && make -j$JOBS install && $HOME/perl-blead/bin/perlivp
 
 addons:
     apt: