Change build order to chack clang-format first
This commit is contained in:
parent
68943acd67
commit
8443a2a5fe
16
.travis.yml
16
.travis.yml
|
@ -1,6 +1,14 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- os: linux
|
||||||
|
env: NAME="clang-format"
|
||||||
|
dist: trusty
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- clang-format-3.9
|
||||||
|
script: "./.travis/clang-format/script.sh"
|
||||||
- os: linux
|
- os: linux
|
||||||
env: NAME="linux build"
|
env: NAME="linux build"
|
||||||
sudo: required
|
sudo: required
|
||||||
|
@ -20,14 +28,6 @@ matrix:
|
||||||
install: "./.travis/macos/deps.sh"
|
install: "./.travis/macos/deps.sh"
|
||||||
script: "./.travis/macos/build.sh"
|
script: "./.travis/macos/build.sh"
|
||||||
after_success: "./.travis/macos/upload.sh"
|
after_success: "./.travis/macos/upload.sh"
|
||||||
- os: linux
|
|
||||||
env: NAME="clang-format"
|
|
||||||
dist: trusty
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- clang-format-3.9
|
|
||||||
script: "./.travis/clang-format/script.sh"
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
|
Reference in New Issue