]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Reverse travis experiments
authorDmitry Belyavskiy <beldmit@gmail.com>
Fri, 8 May 2020 08:51:43 +0000 (11:51 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 8 May 2020 08:51:43 +0000 (11:51 +0300)
.travis.yml

index 93d56c14b6d4bf21063e638d102fae82744882bd..712266bbfb412fad8ab6c268f28aa540149f3c56 100644 (file)
@@ -8,23 +8,21 @@ env:
   global:
     - PREFIX=${HOME}/opt
     - PATH=${PREFIX}/bin:${PATH}
+    #- OPENSSL_BRANCH=openssl-3.0.0-alpha1
     - OPENSSL_BRANCH=master
-    # known good commit
-    - OPENSSL_COMMIT=edbb56ee4fafc07eb77747ad25278a04b89adc09
     - RPATH="-Wl,-rpath=${PREFIX}/lib"
 
 matrix:
   include:
-    - name: gcc | openssl-hope-for-best
-    - name: clang | openssl-hope-for-best
+    - name: gcc | openssl-stable
+    - name: clang | openssl-stable
       compiler: clang
     - name: gcc | openssl-master
       env: OPENSSL_BRANCH=master
-      env: OPENSSL_COMMIT=HEAD
     # Dynamic and static analysers
-    - name: gcc+ASan | openssl-hope-for-best
+    - name: gcc+ASan | openssl-stable
       env: ASAN=-DASAN=1
-    - name: gcc+Coverity | openssl-hope-for-best (cron)
+    - name: gcc+Coverity | openssl-stable (cron)
       env: COVERITY_SCAN_PROJECT_NAME="gost-engine" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="beldmit@gmail.com" COVERITY_SCAN_BUILD_COMMAND="make"
       if: type == cron
       script:
@@ -33,31 +31,29 @@ matrix:
         - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ..
         - curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true
     # Other arches
-    - name: gcc | openssl-hope-for-best
+    - name: gcc | openssl-stable
       env: CFLAGS=-m32 LDFLAGS=-m32 SETARCH="setarch i386" APT_INSTALL=gcc-multilib
-    - name: gcc | openssl-hope-for-best
+    - name: gcc | openssl-stable
       arch: ppc64le
-    - name: gcc | openssl-hope-for-best
+    - name: gcc | openssl-stable
       arch: arm64
-    - name: gcc | openssl-hope-for-best
+    - name: gcc | openssl-stable
       arch: s390x
     # Non-linux
-    - name: clang | openssl-hope-for-best
+    - name: clang | openssl-stable
       os: osx
       compiler: clang
       env: RPATH="-Wl,-rpath,${PREFIX}/lib"
   allow_failures:
       env: OPENSSL_BRANCH=master
-    #  if: type == pull_request
+      if: type == pull_request
 
 before_script:
   - curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus
   - sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
   - if [ "$APT_INSTALL" ]; then sudo apt-get install -y $APT_INSTALL; fi
-  #- git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
-  - git clone --single-branch -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
+  - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
   - cd openssl
-  - git reset --hard ${OPENSSL_COMMIT}
   - git describe --always --long
   - $SETARCH ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} ${RPATH}
   - travis_wait $SETARCH make -s -j$(nproc) build_libs