forked from gost-engine/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis-ci: Optimize and rearrange .travis.yml
- Remove redundant 'os: linux', 'compiler: gcc' tags. - Order jobs: x86_64 builds, analysers, other arches, other oses. - Mark openssl-master build as 'allow_failures' for PRs. - Build all jobs against 'OpenSSL_1_1_1-stable' by default.
- Loading branch information
Showing
1 changed file
with
20 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,54 +8,43 @@ env: | |
global: | ||
- PREFIX=${HOME}/opt | ||
- PATH=${PREFIX}/bin:${PATH} | ||
- OPENSSL_BRANCH=master | ||
- OPENSSL_BRANCH=OpenSSL_1_1_1-stable | ||
|
||
matrix: | ||
include: | ||
- name: linux/gcc/x86_64/openssl-master | ||
os: linux | ||
compiler: gcc | ||
- name: linux/clang/x86_64/openssl-master | ||
os: linux | ||
- name: linux/gcc/x86_64/openssl-stable | ||
- name: linux/clang/x86_64/openssl-stable | ||
compiler: clang | ||
- name: linux/gcc/i386/openssl-master | ||
os: linux | ||
compiler: gcc | ||
env: CFLAGS=-m32 LDFLAGS=-m32 SETARCH="setarch i386" APT_INSTALL=gcc-multilib | ||
- 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/openssl-master | ||
- name: linux/gcc/x86_64/openssl-master | ||
env: OPENSSL_BRANCH=master | ||
# Dynamic and static analysers | ||
- name: linux/gcc+ASan/x86_64/openssl-1.1.1 | ||
env: ASAN=-DASAN=1 | ||
os: linux | ||
compiler: gcc | ||
- name: linux/gcc+Coverity/x86_64 (cron) | ||
env: COVERITY_SCAN_PROJECT_NAME="gost-engine" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="[email protected]" COVERITY_SCAN_BUILD_COMMAND="make" | ||
if: type == cron | ||
os: linux | ||
compiler: gcc | ||
script: | ||
- mkdir build | ||
- 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/openssl-master | ||
os: linux | ||
# Other arches | ||
- name: linux/gcc/i386/openssl-stable | ||
env: CFLAGS=-m32 LDFLAGS=-m32 SETARCH="setarch i386" APT_INSTALL=gcc-multilib | ||
- name: linux/gcc/ppc64le/openssl-stable | ||
arch: ppc64le | ||
- name: linux/gcc/arm64/openssl-stable | ||
arch: arm64 | ||
compiler: gcc | ||
- name: linux/gcc/s390x/openssl-master | ||
os: linux | ||
- name: linux/gcc/s390x/openssl-stable | ||
arch: s390x | ||
compiler: gcc | ||
- name: osx/clang/x86_64/openssl-master | ||
# Non-linux | ||
- name: osx/clang/x86_64/openssl-stable | ||
os: osx | ||
compiler: clang | ||
allow_failures: | ||
- name: linux/gcc/x86_64/openssl-master | ||
env: OPENSSL_BRANCH=master | ||
if: type == pull_request | ||
|
||
before_script: | ||
- curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus | ||
|