Skip to content

Commit

Permalink
feat(.travis.yml): add linting to test stage (#1606)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertylewis authored and mergify[bot] committed Oct 30, 2019
1 parent aadfde6 commit d43f7f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ install:
- if [ $RESULT -eq 0 ]; then git checkout -f HEAD ; fi
- git clean -d -f -q
- ./purge_olean.sh
- bash scripts/rm_all.sh || true
- rm mathlib.txt || true
- export LEAN_VERSION=lean-`lean --run scripts/lean_version.lean`

Expand Down Expand Up @@ -78,6 +79,9 @@ jobs:
- travis_long "leanpkg test"
- lean --recursive --export=mathlib.txt src/
- travis_long "leanchecker mathlib.txt"
- bash scripts/mk_all.sh
- travis_long "lean src/lint_mathlib.lean"
- bash scripts/rm_all.sh
- sh scripts/deploy_nightly.sh

- stage: Test
Expand Down
2 changes: 1 addition & 1 deletion scripts/mk_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ import all
open nat -- need to do something before running a command
#lint_mathlib
#lint_mathlib- only def_lemma dup_namespace
EOT

0 comments on commit d43f7f9

Please sign in to comment.