2
0
Эх сурвалжийг харах

modifies environment var settings in matrix build, modifies testing dependency installs on OS X platform

Chris Simpkins 7 жил өмнө
parent
commit
0a5a19e6d4
1 өөрчлөгдсөн 7 нэмэгдсэн , 5 устгасан
  1. 7 5
      .travis.yml

+ 7 - 5
.travis.yml

@@ -1,14 +1,13 @@
 sudo: true
 language: generic
 
-env:
-  - TARGET="lint"
-  - TARGET="build-with-dependencies"
-
 matrix:
   include:
     - os: linux
       sudo: required
+      env:
+        - TARGET="lint"
+        - TARGET="build-with-dependencies"
       before_script:
         - pip install ufolint
         - sudo apt-get -qq update
@@ -16,6 +15,9 @@ matrix:
       script:
         - make -j $TARGET
     - os: osx
+      env:
+        - TARGET="lint"
+        - TARGET="build-with-dependencies"
       before_install:
         - brew update
         - brew install python3
@@ -23,7 +25,7 @@ matrix:
         - source env/bin/activate
       before_script:
         - pip install ufolint
-        - brew outdated shellcheck || brew upgrade shellcheck
+        - brew install shellcheck
       script:
         - make -j $TARGET