Skip to content

Commit 393f69f

Browse files
committed
build: Change travis osx to use std brew
The osx brew and older linux targets are failing the update. This removes the older linux builds and change the osx to take the latest brew that comes with the image instead of doing a brew update on every build. Change-Id: Ib1543296a733875c9eff798326b0d45854153923 Signed-off-by: Greg Tucker <[email protected]>
1 parent 240ca46 commit 393f69f

File tree

1 file changed

+16
-30
lines changed

1 file changed

+16
-30
lines changed

.travis.yml

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ matrix:
44
include:
55
### OS X
66
- os: osx
7+
osx_image: xcode12.5
8+
addons:
9+
homebrew:
10+
packages:
11+
- nasm
712
env: C_COMPILER=clang
813

914
### linux gcc and format check
10-
- dist: xenial
15+
- os: linux
16+
dist: bionic
1117
addons:
1218
apt:
1319
packages:
@@ -21,58 +27,41 @@ matrix:
2127
env: C_COMPILER=gcc
2228

2329
### linux clang
24-
- dist: xenial
30+
- os: linux
31+
dist: bionic
2532
addons:
2633
apt:
2734
packages:
2835
- nasm
2936
env: C_COMPILER=clang
3037

31-
### linux newer clang
32-
- dist: trusty
33-
addons:
34-
apt:
35-
sources:
36-
- ubuntu-toolchain-r-test
37-
- llvm-toolchain-trusty-4.0
38-
packages:
39-
- clang-4.0
40-
env: C_COMPILER=clang-4.0
41-
4238
### linux older gcc
43-
- dist: trusty
39+
- os: linux
40+
dist: xenial
4441
addons:
4542
apt:
4643
sources:
4744
- ubuntu-toolchain-r-test
4845
packages:
4946
- g++-4.7
47+
- nasm
5048
env: C_COMPILER=gcc-4.7
5149

52-
### linux newer gcc
53-
- dist: trusty
54-
addons:
55-
apt:
56-
sources:
57-
- ubuntu-toolchain-r-test
58-
packages:
59-
- g++-6
60-
env: C_COMPILER=gcc-6
61-
6250
### arm64: gcc-5.4
6351
- os: linux
64-
dist: xenial
52+
dist: bionic
6553
arch: arm64
6654
env: C_COMPILER=gcc
6755

6856
### arm64: gcc-5.4 extended tests
6957
- os: linux
70-
dist: xenial
58+
dist: bionic
7159
arch: arm64
7260
env: TEST_TYPE=ext
7361

7462
### linux extended tests
75-
- dist: xenial
63+
- os: linux
64+
dist: xenial
7665
addons:
7766
apt:
7867
sources:
@@ -90,9 +79,6 @@ before_install:
9079

9180
before_script:
9281
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -q update; fi
93-
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install yasm; fi
94-
- if [ $TRAVIS_OS_NAME = osx ]; then brew update; fi
95-
- if [ $TRAVIS_OS_NAME = osx ]; then brew install yasm; fi
9682

9783
script:
9884
- if [ -n "${CC}" ]; then $CC --version; fi

0 commit comments

Comments
 (0)