mirror of
https://github.com/libretro/libretro-chailove.git
synced 2024-11-23 16:09:59 +00:00
Merge pull request #354 from libretro/before_install
Use Travis matrix for before_install
This commit is contained in:
commit
82965c4218
14
.travis.yml
14
.travis.yml
@ -6,16 +6,16 @@ matrix:
|
||||
- os: linux
|
||||
dist: trusty
|
||||
sudo: required
|
||||
before_install:
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install g++-7 binutils-2.26
|
||||
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
|
||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
|
||||
- export PATH=/usr/lib/binutils-2.26/bin:${PATH}
|
||||
|
||||
- os: osx
|
||||
osx_image: xcode8.3
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-get -qq update ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-get install g++-7 binutils-2.26 ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90 ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90 ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then export PATH=/usr/lib/binutils-2.26/bin:${PATH} ; fi
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
|
Loading…
Reference in New Issue
Block a user