-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
48 lines (40 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
############################################
# Lemon Grove #
# https://github.com/tajmone/lemon-grove #
############################################
dist: trusty
language: c
compiler: gcc
git:
depth: false
cache:
apt: true
timeout: 604800
before_script:
- $CC --version
install:
- npm install -g eclint
jobs:
include:
# ==============================================
# EditorConfig Code Styles Validation via EClint
# ==============================================
# https://editorconfig.org
# https://www.npmjs.com/package/eclint
- name: "EditorConfig Validation"
script:
- bash ./validate.sh
# =================================
# Validate all Contributed Examples
# =================================
- name: "Build Examples"
script:
- |
set -e
for d in $(find $TRAVIS_BUILD_DIR/lemon/examples/* -type d) ; do
cd $d
make CC=$CC
make test
make clean
cd $TRAVIS_BUILD_DIR
done