]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - .travis.yml
travis-ci: Always describe openssl branch
[openssl-gost/engine.git] / .travis.yml
index d617ecec89a7734b4ea45ee267097ddbb73596b3..5f34fb2d2860d6ff4d2266bba1057eb89db9eda0 100644 (file)
@@ -1,4 +1,3 @@
-sudo: required
 dist: bionic
 
 os: linux
@@ -13,14 +12,19 @@ env:
 
 matrix:
   include:
-    - name: linux/gcc/x86_64
+    - name: linux/gcc/x86_64/openssl-master
       os: linux
       compiler: gcc
-    - name: linux/gcc/ppc64le
+    - name: linux/gcc/x86_64/openssl-1.1.1
+      os: linux
+      compiler: gcc
+      env: OPENSSL_BRANCH=OpenSSL_1_1_1-stable
+      if: type != cron
+    - name: linux/gcc/ppc64le/openssl-master
       os: linux
       arch: ppc64le
       compiler: gcc
-    - name: linux/gcc+ASan/x86_64
+    - name: linux/gcc+ASan/x86_64/openssl-master
       env: ASAN=-DASAN=1
       os: linux
       compiler: gcc
@@ -34,11 +38,11 @@ matrix:
         - cd build
         - 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
-    - name: linux/gcc/arm64
+    - name: linux/gcc/arm64/openssl-master
       os: linux
       arch: arm64
       compiler: gcc
-    - name: osx/clang/x86_64
+    - name: osx/clang/x86_64/openssl-master
       os: osx
       compiler: clang
 
@@ -47,6 +51,7 @@ before_script:
   - sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
   - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
   - cd openssl
+  - git describe --always --long
   - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib && travis_wait make -s -j$(nproc) all && make -s install_sw
   - cd ..