|
|
|
@ -21,17 +21,18 @@ env:
|
|
|
|
|
PROTOBUF_VERSION=3.4.0
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
- curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"
|
|
|
|
|
- unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d protoc
|
|
|
|
|
- export PATH="$(pwd)/protoc/bin:$PATH"
|
|
|
|
|
- pip install --upgrade pip wheel setuptools
|
|
|
|
|
- pip install pipenv
|
|
|
|
|
- pipenv install
|
|
|
|
|
# make sure pipenv is installable without protobuf - install protoc later
|
|
|
|
|
- curl -LO "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip"
|
|
|
|
|
- unzip "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" -d protoc
|
|
|
|
|
- export PATH="$(pwd)/protoc/bin:$PATH"
|
|
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
- pipenv run make style_check
|
|
|
|
|
- pipenv run make -C core templates_check
|
|
|
|
|
- pipenv run make defs_check
|
|
|
|
|
- pipenv run make gen_check
|
|
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
|
webhooks:
|
|
|
|
|