Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
only keep android lint to test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmswindmill committed Jul 30, 2019
1 parent 1e5f1a6 commit efa2145
Showing 1 changed file with 41 additions and 40 deletions.
81 changes: 41 additions & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@ matrix:
fast_finish: true
include:
# format code using clang-format
# - env: TEST_SUITE=code_format
# language: ruby
# - env: TEST_SUITE=danger
# - env: TEST_SUITE=jsfm
# - env: TEST_SUITE=ios
# language: objective-c
# - env: TEST_SUITE=android ABI=armeabi-v7a
# language: android
# dist: trusty
# jdk: oraclejdk8
# android:
# components:
# - android-26
# - extra-android-m2repository
# - env: TEST_SUITE=android ABI=arm64-v8a
# language: android
# dist: trusty
# jdk: oraclejdk8
# android:
# components:
# - android-26
# - extra-android-m2repository
# - env: TEST_SUITE=android ABI=x86
# language: android
# dist: trusty
# jdk: oraclejdk8
# android:
# components:
# - android-26
# - extra-android-m2repository
- env: TEST_SUITE=code_format
language: ruby
- env: TEST_SUITE=danger
- env: TEST_SUITE=jsfm
- env: TEST_SUITE=ios
language: objective-c
- env: TEST_SUITE=android ABI=armeabi-v7a
language: android
dist: trusty
jdk: oraclejdk8
android:
components:
- android-26
- extra-android-m2repository
- env: TEST_SUITE=android ABI=arm64-v8a
language: android
dist: trusty
jdk: oraclejdk8
android:
components:
- android-26
- extra-android-m2repository
- env: TEST_SUITE=android ABI=x86
language: android
dist: trusty
jdk: oraclejdk8
android:
components:
- android-26
- extra-android-m2repository
# static check
# - env: TEST_SUITE=static_code_analysis OCLINT=true
# osx_image: xcode7.2
# language: objective-c
- env: TEST_SUITE=static_code_analysis OCLINT=true
osx_image: xcode7.2
language: objective-c
- env: TEST_SUITE=static_code_analysis ANDROID_LINT=true
language: android
dist: trusty
Expand All @@ -64,19 +64,20 @@ before_cache:

before_install:
- |
# # install oclint
# if [[ ("$TEST_SUITE" = "static_code_analysis") && ("${OCLINT}" = "true") ]]; then
# brew cask uninstall oclint
# brew tap oclint/formulae
# brew install oclint
# fi
# # install android lint
# install android lint
if [[ ("$TEST_SUITE" = "static_code_analysis") && ("${ANDROID_LINT}" = "true") ]]; then
sudo apt-get install rubygems
gem install bundler
bundle install
fi
# # install oclint
# if [[ ("$TEST_SUITE" = "static_code_analysis") && ("${OCLINT}" = "true") ]]; then
# brew cask uninstall oclint
# brew tap oclint/formulae
# brew install oclint
# fi
install:
Expand Down

0 comments on commit efa2145

Please sign in to comment.