Change build order to chack clang-format first

This commit is contained in:
B3n30 2017-10-23 00:18:52 +02:00
parent 68943acd67
commit 8443a2a5fe

View file

@ -1,6 +1,14 @@
language: cpp
matrix:
include:
- os: linux
env: NAME="clang-format"
dist: trusty
addons:
apt:
packages:
- clang-format-3.9
script: "./.travis/clang-format/script.sh"
- os: linux
env: NAME="linux build"
sudo: required
@ -20,14 +28,6 @@ matrix:
install: "./.travis/macos/deps.sh"
script: "./.travis/macos/build.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:
provider: releases