diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 63374b3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ -language: dart -dart: - - stable -os: - - linux -# sudo: false #deprecated -addons: - apt: - sources: - - ubuntu-toolchain-r-test # you need this source to get the right version of libstdc++6 - packages: - - libstdc++6 - - fonts-noto -install: - - echo 'Avoid default Travis CI install step' # this is to avoid an error with pub in Travis -before_script: - - cd .. - - git clone https://github.com/flutter/flutter.git - - export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH - - flutter doctor -script: - - cd $TRAVIS_BUILD_DIR - - flutter packages get - - flutter analyze --no-pub --no-current-package lib -# - flutter test - - flutter packages pub publish --dry-run -before_deploy: - - chmod +x ./.travis/publish.sh # giving execution permissions to this file to avoid error 127. - - mv ./.travis ../ # moving this out the publication folder as we don't want to publish it. -deploy: - provider: script -# skip_cleanup: true #deprecated - script: '../.travis/publish.sh' - on: - tags: true -cache: - directories: - - $HOME/.pub-cache \ No newline at end of file diff --git a/.travis/publish.sh b/.travis/publish.sh deleted file mode 100644 index 2450446..0000000 --- a/.travis/publish.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -mkdir -p .pub-cache - -cat < ~/.pub-cache/credentials.json -{ - "accessToken":"$accessToken", - "refreshToken":"$refreshToken", - "tokenEndpoint":"$tokenEndpoint", - "scopes":["https://www.googleapis.com/auth/plus.me","https://www.googleapis.com/auth/userinfo.email"], - "expiration":$expiration -} -EOF - -echo "Let's publish this!" -pub publish -f \ No newline at end of file