File tree 2 files changed +20
-11
lines changed
2 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 1
1
language : c
2
2
dist : bionic
3
+ os : linux
3
4
4
- matrix :
5
+ jobs :
5
6
include :
6
7
7
8
# #### CPU formats test (gcc)
@@ -57,15 +58,5 @@ matrix:
57
58
osx_image : xcode9.4
58
59
env : OPENCL="yes"
59
60
60
- # #########################################
61
- # #### Extra Testing Scheme
62
- # #########################################
63
-
64
- # #### Intel OpenCL runtime Docker based testing
65
- - if : branch = bleeding-jumbo AND env(TRAVIS_PULL_REQUEST) = false
66
- os : linux
67
- compiler : gcc
68
- env : DOCKER="yes" OPENCL="yes"
69
-
70
61
script :
71
62
- .travis/travis-ci.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ # if requested, run all tests
4
+ if [[ " $TRAVIS_PULL_REQUEST_BRANCH " != " force-travis" ]]; then
5
+
6
+ # on the main branch, run all tests
7
+ if [[ " $TRAVIS_BRANCH " != " bleeding-jumbo" || " $TRAVIS_PULL_REQUEST " =~ ^[0-9]+$ ]]; then
8
+
9
+ # # otherwise, run only Linux jobs for now
10
+ # if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then
11
+ echo ' ---------------------------------- Skipping CI ---------------------------------'
12
+ echo ' In order to spare resources, skip Travis CI build.'
13
+ echo ' --------------------------------------------------------------------------------'
14
+
15
+ # Nothing to do.
16
+ exit 0
17
+ # fi
18
+ fi
19
+ fi
20
+
3
21
# Need a docker image to run the tests
4
22
if [[ " $DOCKER " == " yes" ]]; then
5
23
docker run --cap-add SYS_PTRACE -v " $( pwd) " :/cwd claudioandre/john:opencl sh -c \
You can’t perform that action at this time.
0 commit comments