[travis] move package check into lint stage (#4603)
This commit moves the package check into the first stage so that if
there are some build errors jobs in stage 2 will be skipped.
diff --git a/.travis.yml b/.travis.yml
index cb44dfc..bc68266 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,10 +49,6 @@
jobs:
include:
- - env: BUILD_TARGET="package-check" VERBOSE=1
- os: linux
- compiler: gcc
- script: script/test package
- env: BUILD_TARGET="v1.2" VERBOSE=1 VIRTUAL_TIME=1 THREAD_VERSION=1.2
os: linux
compiler: gcc
@@ -215,6 +211,10 @@
packages:
- clang-format-6.0
script: .travis/check-pretty
+ - name: "Package Check"
+ os: linux
+ compiler: gcc
+ script: pip3 install -U cmake && script/test package
- env:
name: "Size Report"
os: linux