summaryrefslogtreecommitdiffstats
path: root/packages/flutter_calendar_carousel/.travis.yml
diff options
context:
space:
mode:
authorJoel Winarske <joel.winarske@gmail.com>2024-09-05 14:01:44 -0700
committerScott Murray <scott.murray@konsulko.com>2024-09-09 15:37:22 +0000
commit0c24d7f6ebdb688d3aee492b5f84aa21e141f7e7 (patch)
treeae7dd19be2f0b482d8c58236822d7992888b0e71 /packages/flutter_calendar_carousel/.travis.yml
parentcbc46db4690b89d2d5e983821d269931a358e508 (diff)
-add flutter_calendar_carousel as local package, and update intl version -address most of the analyze issues; not including flutter_calendar_carousel -update all packages Change-Id: I5db9234726e8e2f8d07e1431e8dac2787c521c08 Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Joel Winarske <joel.winarske@toyotaconnected.com> Signed-off-by: Joel Winarske <joel.winarske@gmail.com> (cherry picked from commit d3ea8d7fa4518c258fca3c825ee895487fcaa8ec)
Diffstat (limited to 'packages/flutter_calendar_carousel/.travis.yml')
-rw-r--r--packages/flutter_calendar_carousel/.travis.yml90
1 files changed, 90 insertions, 0 deletions
diff --git a/packages/flutter_calendar_carousel/.travis.yml b/packages/flutter_calendar_carousel/.travis.yml
new file mode 100644
index 0000000..4a8e0f5
--- /dev/null
+++ b/packages/flutter_calendar_carousel/.travis.yml
@@ -0,0 +1,90 @@
+matrix:
+ # This causes the build to complete immediately upon first failure or once
+ # required jobs are green.
+ fast_finish: true
+
+ # Building APK/IPA takes a long time; do not wait for them to finish.
+ # allow_failures:
+ # - env: JOB=APK
+ # - env: JOB=IPA
+
+ include:
+ # Runs unit tests without emulator.
+ - env: JOB=PR
+ os: linux
+ language: dart
+ sudo: false
+ addons:
+ apt:
+ # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
+ sources:
+ - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
+ packages:
+ - libstdc++6
+ install:
+ - echo 'Avoid default Travis CI install step'
+ before_script:
+ - git clone https://github.com/flutter/flutter.git -b stable
+ - export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
+ - flutter doctor
+ - gem install coveralls-lcov
+ script:
+ - ./flutter/bin/flutter test --coverage
+ after_success:
+ - coveralls-lcov coverage/lcov.info
+
+# # Builds an APK.
+# - env: JOB=APK
+# os: linux
+# language: android
+# licenses:
+# - 'android-sdk-preview-license-.+'
+# - 'android-sdk-license-.+'
+# - 'google-gdk-license-.+'
+# android:
+# components:
+# - tools
+# - platform-tools
+# - build-tools-25.0.3
+# - android-25
+# - sys-img-armeabi-v7a-google_apis-25
+# - extra-android-m2repository
+# - extra-google-m2repository
+# - extra-google-android-support
+# jdk: oraclejdk8
+# sudo: false
+# addons:
+# apt:
+# # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
+# sources:
+# - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
+# packages:
+# - libstdc++6
+# - fonts-droid
+# before_script:
+# - wget http://services.gradle.org/distributions/gradle-3.5-bin.zip
+# - unzip -qq gradle-3.5-bin.zip
+# - export GRADLE_HOME=$PWD/gradle-3.5
+# - export PATH=$GRADLE_HOME/bin:$PATH
+# - git clone https://github.com/flutter/flutter.git -b beta
+# script:
+# - ./flutter/bin/flutter -v build apk
+#
+# # Builds an IPA.
+# - env: JOB=IPA
+# os: osx
+# language: generic
+# osx_image: xcode8.3
+# before_script:
+# - pip install six
+# - brew update
+# - brew install --HEAD libimobiledevice
+# - brew install ideviceinstaller
+# - brew install ios-deploy
+# - git clone https://github.com/flutter/flutter.git -b beta
+# script:
+# - ./flutter/bin/flutter -v build ios --no-codesign
+
+cache:
+ directories:
+ - $HOME/.pub-cache