Skip to content

Commit 5754707

Browse files
committed
initial commit
0 parents  commit 5754707

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.clang-format

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# using clang-format version 5.0.0
2+
Language: Cpp
3+
BasedOnStyle: LLVM
4+
5+
AllowShortCaseLabelsOnASingleLine: true
6+
AllowShortFunctionsOnASingleLine: true
7+
AlwaysBreakTemplateDeclarations: true
8+
BinPackArguments: false
9+
BinPackParameters: false
10+
# make adding new members at the end less noisy in diffs
11+
BreakConstructorInitializersBeforeComma: true
12+
ConstructorInitializerAllOnOneLineOrOnePerLine: true

.travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: cpp
2+
3+
sudo: required
4+
dist: trusty
5+
6+
addons:
7+
apt:
8+
sources:
9+
- llvm-toolchain-trusty-5.0
10+
packages:
11+
- clang-format-5.0
12+
13+
script:
14+
- env | grep "^TRAVIS_"
15+
- git clang-format-5.0 ${TRAVIS_COMMIT_RANGE%%.*} ${TRAVIS_COMMIT_RANGE##*.}

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Testing travis

0 commit comments

Comments
 (0)