]> granicus.if.org Git - pdns/commitdiff
more travis optimizations
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 2 Oct 2015 12:15:51 +0000 (14:15 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 2 Oct 2015 13:00:01 +0000 (15:00 +0200)
.travis.yml

index 69b2a407e553153089db6db72f5bc9af99ab194d..46a4678ca911b6b9043928f5448c872823c79278 100644 (file)
@@ -83,7 +83,7 @@ script:
  - ./bootstrap
 #DNSName     --with-dynmodules='bind gmysql gpgsql gsqlite3 mydns tinydns remote random opendbx ldap lmdb lua'
 #Build without --enable-botan1.10 option, Botan/SoftHSM conflict #2496
- - CFLAGS='-O0' CXXFLAGS='-O0' ./configure
+ - CFLAGS='-O1' CXXFLAGS='-O1' ./configure
      --with-dynmodules='bind gmysql geoip gpgsql gsqlite3 mydns tinydns pipe remote random opendbx ldap lua'
      --with-modules=''
      --with-sqlite3
@@ -92,29 +92,28 @@ script:
      --enable-libsodium
      --enable-experimental-pkcs11
      --enable-tools
-     --disable-silent-rules
      --disable-dependency-tracking
  - make -k dist
- - make -k -j 4
+ - make -k -j 2
  - cd docs
  - make check-links
  - cd ..
  - make -k install DESTDIR=/tmp/pdns-install-dir
  - find /tmp/pdns-install-dir -ls
- - make -j 4 check
+ - make -j 2 check
  - test -f pdns/test-suite.log && cat pdns/test-suite.log || true
  - test -f modules/remotebackend/test-suite.log && cat modules/remotebackend/test-suite.log || true
-# DNSName: - make -k -C pdns $(grep '(EXEEXT):' pdns/Makefile | cut -f1 -d\$ | grep -E -v 'dnsdist|calidns')
- - make -k -C pdns $(grep '(EXEEXT):' pdns/Makefile | cut -f1 -d\$ | grep -E -v 'dnsdist|calidns|zone2lmdb|speedtest')
+# DNSName: - make -k -j 2 -C pdns $(grep '(EXEEXT):' pdns/Makefile | cut -f1 -d\$ | grep -E -v 'dnsdist|calidns')
+ - make -k -j 2 -C pdns $(grep '(EXEEXT):' pdns/Makefile | cut -f1 -d\$ | grep -E -v 'dnsdist|calidns|zone2lmdb|speedtest')
  - cd pdns
- - make -k -j 4 pdns_recursor
+ - make -k -j 2 pdns_recursor
  - rm -f pdns_recursor
  - ./pdnssec test-algorithms
  - cd ..
  - ./build-scripts/dist-recursor
  - cd pdns/pdns-recursor-*/
- - CFLAGS='-O0' CXXFLAGS='-O0' ./configure
- - make -k -j 4
+ - OPTFLAGS=-O0 ./configure
+ - OPTFLAGS=-O0 make -k -j 2
  - cd ..
  - ln -s pdns-recursor*/pdns_recursor .
  - cd ..
@@ -123,7 +122,7 @@ script:
  - tar xf dnsdist*.tar.bz2
  - cd dnsdist-*
  - CFLAGS='-O0' CXXFLAGS='-O0' ./configure
- - make -k -j 4
+ - make -k -j 2
  - cd ..
  - rm -rf dnsdist-*/
  - cd ../../
@@ -161,31 +160,31 @@ script:
  - ./timestamp ./start-test-stop 5300 gmysql-nsec3-optout-both
  - ./timestamp ./start-test-stop 5300 gmysql-nsec3-narrow
  - ./timestamp ./start-test-stop 5300 gpgsql-nodnssec-both
- - ./timestamp ./start-test-stop 5300 gpgsql-both
+# - ./timestamp ./start-test-stop 5300 gpgsql-both
  - ./timestamp ./start-test-stop 5300 gpgsql-nsec3-both
 # - ./timestamp ./start-test-stop 5300 gpgsql-nsec3-optout-both
 # - ./timestamp ./start-test-stop 5300 gpgsql-nsec3-narrow
-# - ./timestamp ./start-test-stop 5300 gsqlite3-nodnssec-both
+ - ./timestamp ./start-test-stop 5300 gsqlite3-nodnssec-both
 # - ./timestamp ./start-test-stop 5300 gsqlite3-both
  - ./timestamp ./start-test-stop 5300 gsqlite3-nsec3-both
 # - ./timestamp ./start-test-stop 5300 gsqlite3-nsec3-optout-both
 # - ./timestamp ./start-test-stop 5300 gsqlite3-nsec3-narrow
 #DNSName - ./timestamp ./start-test-stop 5300 lmdb-nodnssec
-# - ./timestamp ./start-test-stop 5300 mydns
-# - ./timestamp ./start-test-stop 5300 opendbx-sqlite3
-# - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-pipe
-# - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-pipe-dnssec
+ - ./timestamp ./start-test-stop 5300 mydns
+ - ./timestamp ./start-test-stop 5300 opendbx-sqlite3
+ - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-pipe
+ - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-pipe-dnssec
 # - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-unix
-# - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-unix-dnssec
+ - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-unix-dnssec
 # - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-http
-# - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-http-dnssec
+ - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-http-dnssec
 # - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-zeromq
-# - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-zeromq-dnssec
+ - travis_retry ./timestamp timeout 120s ./start-test-stop 5300 remotebackend-zeromq-dnssec
  - ./timestamp ./start-test-stop 5300 tinydns
  - rm -f tests/verify-dnssec-zone/allow-missing
  - rm -f tests/verify-dnssec-zone/skip.nsec3
  - rm -f tests/verify-dnssec-zone/skip.optout
- - THRESHOLD=90 TRACE=no ./timestamp ./recursor-test 5300
+ - THRESHOLD=90 TRACE=no ./timestamp ./recursor-test 5300 25000
  - cd ../regression-tests.nobackend/
  - ./runtests
  - test ! -s ./failed_tests