This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
78 lines (75 loc) · 1.64 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
sudo: false
notifications:
email:
on_success: never
cache:
apt: true
matrix:
allow_failures:
- os: windows
include:
- if: branch = gh-pages # gh-pages RVM build
language: ruby
env:
- JEKYLL_ENV=production
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
cache:
bundler: true
directories: $TRAVIS_BUILD_DIR/tmp/.htmlproofer
addons:
apt:
packages: libcurl4-openssl-dev
rvm: 2.4.1
script:
- bundle exec jekyll build --source ./docs/ --trace
# https://github.com/gjtorikian/html-proofer/wiki/Using-HTMLProofer-From-Ruby-and-Travis
- bundle exec htmlproofer ./_site
--check-external-hash
--check-opengraph
--check-sri
--check-html
--check-img-http
--enforce-https
--timeframe 4w
after_success:
- find ./_site -type f
- if: branch = master # master Linux GCC build
language: c
os: linux
dist: xenial
sudo: true
compiler: gcc
addons:
apt:
update: true
sources: ubuntu-toolchain-r-test
packages: cmake
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make && make test
- if: branch = master # master Linux CLANG build
language: c
os: linux
dist: xenial
sudo: true
compiler: clang
addons:
apt:
update: true
sources: ubuntu-toolchain-r-test
packages: cmake
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make && make test
- if: branch = master # master Windows build
language: c
os: windows
compiler: gcc
before_script: cmake
script: make && make test