Showing
3 changed files
with
29 additions
and
22 deletions
.github/workflows/dart.yaml
0 → 100644
1 | +name: Dart CI | ||
2 | + | ||
3 | +on: | ||
4 | + push: | ||
5 | + branches: [ master ] | ||
6 | + pull_request: | ||
7 | + branches: [ master ] | ||
8 | + | ||
9 | +jobs: | ||
10 | + build: | ||
11 | + | ||
12 | + runs-on: ubuntu-latest | ||
13 | + | ||
14 | + steps: | ||
15 | + - uses: actions/checkout@v2 | ||
16 | + - uses: subosito/flutter-action@v1 | ||
17 | + - name: Install utils | ||
18 | + run: sudo apt install poppler-utils imagemagick | ||
19 | + - name: Run analysis | ||
20 | + run: make analyze | ||
21 | + - name: Run tests | ||
22 | + run: make test | ||
23 | + - name: Run readme tests | ||
24 | + run: make test-readme | ||
25 | + - name: Verify that nothing changed | ||
26 | + run: test -z "$(git status --porcelain)" | ||
27 | + - name: Push to codecov | ||
28 | + run: bash <(curl -s https://codecov.io/bash) |
.travis.yml
deleted
100644 → 0
1 | -language: dart | ||
2 | -dist: bionic | ||
3 | -addons: | ||
4 | - apt: | ||
5 | - packages: | ||
6 | - - lib32stdc++6 | ||
7 | - - poppler-utils | ||
8 | - - imagemagick | ||
9 | -install: | ||
10 | - - git clone https://github.com/flutter/flutter.git -b stable --depth 1 $HOME/flutter | ||
11 | - - export PATH=$HOME/flutter/bin:$PATH | ||
12 | - - flutter doctor | ||
13 | - - flutter --version | ||
14 | -script: | ||
15 | - - make analyze | ||
16 | - - make test | ||
17 | - - make test-readme | ||
18 | - - bash <(curl -s https://codecov.io/bash) | ||
19 | -cache: | ||
20 | - directories: | ||
21 | - - $HOME/.pub-cache |
1 | # Pdf for Dart and Flutter | 1 | # Pdf for Dart and Flutter |
2 | 2 | ||
3 | -[](https://travis-ci.org/DavBfr/dart_pdf) | 3 | + |
4 | [](https://pub.dartlang.org/packages/pdf) | 4 | [](https://pub.dartlang.org/packages/pdf) |
5 | [](https://pub.dartlang.org/packages/printing) | 5 | [](https://pub.dartlang.org/packages/printing) |
6 | [](https://codecov.io/gh/DavBfr/dart_pdf) | 6 | [](https://codecov.io/gh/DavBfr/dart_pdf) |
-
Please register or login to post a comment