diff options
author | Zeex <zeex@rocketmail.com> | 2018-09-01 16:50:25 +0600 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2018-09-01 16:50:25 +0600 |
commit | f98eccceba21dfa9184a84188639428cfc685c3b (patch) | |
tree | 30eee39860b9c57c879337181aced425314afe41 /.travis.yml | |
parent | a5157ac23cc6a17b9bf9df2cffd2228ecad249cf (diff) | |
download | subhook-f98eccceba21dfa9184a84188639428cfc685c3b.zip subhook-f98eccceba21dfa9184a84188639428cfc685c3b.tar.gz subhook-f98eccceba21dfa9184a84188639428cfc685c3b.tar.bz2 |
Replace non-existent 'brew' addon with before_install
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 4c95e6e..66ca42e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,16 +12,15 @@ env: addons: apt: packages: + - gcc - gcc-multilib - cmake - yasm - brew: - packages: - - cmake - - yasm +before_install: + - [ $TRAVIS_OS_NAME = osx ] && brew install yasm before_script: - - cmake . -DSUBHOOK_FORCE_32BIT=`([ $ARCH = x86 ] && echo 'ON') || echo 'OFF'` + - cmake . -DSUBHOOK_FORCE_32BIT=`([ $ARCH = x86 ] && echo ON) || echo OFF` script: - make - make test |