Skip to content

Commit

Permalink
update .travis.yml to automatically check formatting and analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-r-warren committed May 18, 2019
1 parent bc9df8c commit c0ce2b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ stages:
jobs:
include:
- stage: test
name: "run tests"
name: "tests"
script: pub run test
- name: "coverage"
before_script: gem install coveralls-lcov
script: pub run test_coverage
after_success: coveralls-lcov --repo-token $COVERALLS_TOKEN coverage/lcov.info
- name: "formatting"
script: dartfmt -n --set-exit-if-changed .
- name: "static analysis"
script: dartanalyzer .
- stage: deploy
name: "deploy to pub"
before_script: chmod +x tool/deploy.sh
Expand Down

0 comments on commit c0ce2b6

Please sign in to comment.