Files
inKino/.travis.yml
Iiro Krankka 9c0889002c Multiplatform dart analyzer & test scripts (#113)
* First try at CI setup.

* Place .travis.yml to repo root.

* Fix issues running the scripts from wrong directories.

* Another try with the rename script.

* Readd the accidentally lost sample file.

* Try to install Dart with the instructions on the dartlang.org website.

* Get all packages before analyzing or testing anything.

* Use full path when running flutter commands.

* Another try with path variables.

* Inline all scripts to a single file.

* Fix analysis issues

* Fix failing test in core.

* Remove leftover stuff in mobile.

* Add fancy build status badge.

* Update statement about current Flutter version used for building inKino.
2019-01-19 13:09:36 +01:00

32 lines
823 B
YAML

os:
- linux
sudo: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- fonts-droid
before_script:
# Install the standalone Dart SDK
- sudo apt-get update
- sudo apt-get install apt-transport-https
- sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
- sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
- sudo apt-get update
- sudo apt-get install dart
- export PATH="$PATH:/usr/lib/dart/bin"
# Install Flutter
- git clone https://github.com/flutter/flutter.git -b stable --depth 1
- export PATH="$PATH:`pwd`/flutter/bin"
- flutter doctor
script:
- ./ci-script.sh
cache:
directories:
- $HOME/.pub-cache