Skip to content

Commit

Permalink
Adding travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmutumi committed Sep 3, 2020
1 parent eb7c8c9 commit 329a316
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
os:
- linux
env:
- FLUTTER_CHANNEL="stable"
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-fallback
before_script:
- cd ..
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_CHANNEL
- export PATH=$PATH:$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin
- cd -
- flutter doctor
script:
- flutter packages get
- flutter test --coverage

# upload coverage
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $HOME/.pub-cache
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# A tus client

[![Build Status](https://travis-ci.org/jjmutumi/tus_client.svg?branch=master)](https://travis-ci.org/jjmutumi/tus_client)

---

A tus client in pure dart. [Resumable uploads using tus protocol](https://tus.io/)
Expand Down

0 comments on commit 329a316

Please sign in to comment.