mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-04-29 12:45:14 +08:00
move before_install to the top level
This commit is contained in:
@@ -14,8 +14,6 @@ matrix:
|
|||||||
- xcode_scheme: Example
|
- xcode_scheme: Example
|
||||||
env:
|
env:
|
||||||
- XCODE_DESNITATION='platform=iOS Simulator,name=iPhone X'
|
- XCODE_DESNITATION='platform=iOS Simulator,name=iPhone X'
|
||||||
before_install:
|
|
||||||
- git -C ~/.cocoapods/repos/master/ pull --quiet
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s 'https://codecov.io/bash') -Z -J '^PerspectiveTransform$' -X gcov -X fix
|
- bash <(curl -s 'https://codecov.io/bash') -Z -J '^PerspectiveTransform$' -X gcov -X fix
|
||||||
before_deploy:
|
before_deploy:
|
||||||
@@ -36,10 +34,9 @@ matrix:
|
|||||||
env:
|
env:
|
||||||
- XCODE_DESNITATION='platform=macos'
|
- XCODE_DESNITATION='platform=macos'
|
||||||
before_install:
|
before_install:
|
||||||
- git -C ~/.cocoapods/repos/master/ pull --quiet &
|
- git -C ~/.cocoapods/repos/master/ pull --quiet
|
||||||
- yes | pip2 uninstall numpy > /dev/null
|
- yes | pip2 uninstall numpy > /dev/null
|
||||||
- for package in opencv xz $(brew deps opencv); do brew link $package || brew install $package; done
|
- for package in opencv xz $(brew deps opencv); do brew link $package || brew install $package; done
|
||||||
- fg || echo Cocoapds repository update has already finished
|
|
||||||
before_script:
|
before_script:
|
||||||
- pod lib lint
|
- pod lib lint
|
||||||
cache:
|
cache:
|
||||||
@@ -65,5 +62,7 @@ matrix:
|
|||||||
- /usr/local/Cellar/x264
|
- /usr/local/Cellar/x264
|
||||||
- /usr/local/Cellar/xvid
|
- /usr/local/Cellar/xvid
|
||||||
- /usr/local/Cellar/xz
|
- /usr/local/Cellar/xz
|
||||||
|
before_install:
|
||||||
|
- git -C ~/.cocoapods/repos/master/ pull --quiet
|
||||||
script:
|
script:
|
||||||
- set -o pipefail && xcodebuild test -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" -destination "$XCODE_DESNITATION" | xcpretty -f `xcpretty-travis-formatter`
|
- set -o pipefail && xcodebuild test -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" -destination "$XCODE_DESNITATION" | xcpretty -f `xcpretty-travis-formatter`
|
||||||
|
|||||||
Reference in New Issue
Block a user