mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
af9a4539b1
Change build order to check clang-format first
40 lines
1.5 KiB
YAML
40 lines
1.5 KiB
YAML
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
|
|
dist: trusty
|
|
services: docker
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- p7zip-full
|
|
install: "./.travis/linux/deps.sh"
|
|
script: "./.travis/linux/build.sh"
|
|
after_success: "./.travis/linux/upload.sh"
|
|
- os: osx
|
|
env: NAME="macos build"
|
|
sudo: false
|
|
osx_image: xcode7.3
|
|
install: "./.travis/macos/deps.sh"
|
|
script: "./.travis/macos/build.sh"
|
|
after_success: "./.travis/macos/upload.sh"
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key:
|
|
secure: IuTT8DjxzNgOtaEsyOpz1JaSmtDtHSsWZnJKmSBwXAzgP2ZU4Ja3/q0z5PwbC5Ql7kuFahuYTE5oi7lbJBuu2P3y1Wj2zvFozGUkA3JUvEXDNOPS9QTJ1EYd6O+wenZoj7d/Pn+ZeIgyEafnnZsGBb8lMQnV9MfIHgYlZQ5EyF3n4XikT2h1UbDBYx74ciXZIxFEulx68kDr9Q4/U+zIYQmYv2N+lgXSLDkFrCJ046gRcujPYGPqE6jVw0kKni80CTTpuDF5prU8yIBeiffjkJ3Qx1a17G07eZ4r83P4XUOlaHbRBmA/8ywZvLF2Gep3wGKfSFgMWbPxBJk5ZSYcOOAgMsEcg0+gBK9gLTwO4pbmc2GvqP21yRQBzgtbFoEtAHLu5lVPBkZU7kZuRMJtRdqvFIwOLhpnRS8IknFOD5vjtaFiNdGWaK9ePdsGvplijnXcPafkumakc4+eVEiXb6/KzdX1zXdur5tuUPFytm0Oy6IJcGIf8FHXGvUlmWsnPzwfusij9JgeQOP+uegc9PdBfL+h7L5rk+ilELt3cXD5K7wgov/4hkl5istNJ2bm0IioIstWss8QQQTkyscGoeh/oXmUpOL4FdsTvsWhDR3QKeq8nSzgDkqLe0iSbplQGnC7o7ytNbldmxJvf3nylwglA8w3HlqLHtZLkUOcuQ0=
|
|
file_glob: true
|
|
file: "artifacts/*"
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|