Skip to content

Commit

Permalink
travis: add sanity check stage
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Jul 29, 2020
1 parent a39c91f commit 77fc1ac
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@ sudo: required

jobs:
include:
- stage: Sanity Check
name: Lint and compile
before_script:
# Install the RPC tools as a before step so Travis collapses the output
# after it's done.
- ./scripts/install_travis_proto.sh

script:
# Step 1: Make sure no diff is produced when compiling with the correct
# version.
- make rpc-check

# Step 2: Make sure the unit tests compile, but don't run them. They run
# in a GitHub Workflow.
- make unit pkg=... case=_NONE_

# Step 3: Lint go code. Limit to 1 worker to reduce memory usage.
- make lint workers=1

- stage: Integration Test
name: Btcd Integration
script:
Expand Down

0 comments on commit 77fc1ac

Please sign in to comment.