-
Notifications
You must be signed in to change notification settings - Fork 197
/
.travis.yml
63 lines (63 loc) · 4.72 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
sudo: false
language: ruby
cache: bundler
rvm:
- 3.1.0
addons:
apt:
update: true
sources:
- kalakris-cmake
packages:
- cmake
- libcurl4-openssl-dev
before_install:
- rm Gemfile.lock
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- gem update --system
- gem --version
before_script:
- chmod +x ./script/*
script:
- if [ $TRAVIS_EVENT_TYPE = cron ]; then echo -e "# cibuildindex via cron" ; fi
- if [ $TRAVIS_EVENT_TYPE = cron ]; then travis_wait 35 ./script/cibuildindex; fi
- if [ $TRAVIS_EVENT_TYPE = api ]; then echo -e "# cibuild via api" ; fi
- if [ $TRAVIS_EVENT_TYPE = api ]; then travis_wait 35 ./script/cibuild; fi
- if [ $TRAVIS_EVENT_TYPE = pull_request ]; then echo -e "# cibuild via pull_request" ; fi
- if [ $TRAVIS_EVENT_TYPE = pull_request ]; then travis_wait 35 ./script/cibuild; fi
- if [ $TRAVIS_EVENT_TYPE = push ]; then echo -e "# cibuild via push" ; fi
- if [ $TRAVIS_EVENT_TYPE = push ]; then travis_wait 35 ./script/cibuild; fi
branches:
only:
- master
deploy:
provider: s3
access_key_id:
secure: obmIm6pUTccxYBZ+oVmvQ1o9i+5o/kB0ogcSUaJk57pud+hqaDScghwGLEJETo8DGgYORRbLxMX5S5qk16HkcBam4zXv8l4uXW9aS90w6/IJrdDZM0tNpBM3egsI0gPALd37gte26ZAIsZQIhid55026ETaRNEu080RUpfoUoJcDLKS1IKqY6QIlNhMdD28IWzkZS7ps7liA8Dbm3NNgqPLTqvxXKwy3g+TCVqeEbDozJ/Y3S5uH9skt7n0GfdRt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aJmNPMcFNlyATSEif2mPVtGaZF5fAKPJE0Pz3LT0A0mMCiG0=
bucket: whatthefuckjusthappenedtoday.com
local_dir: _site
skip_cleanup: true
on:
repo: mkiser/WTFJHT
notifications:
slack:
rooms:
secure: oh1suThkyoPLUxMFWaNPtlIMICvJLztnibJGw75FzMDHV6m2cqho51k2kF97jMoQ6C+P3S1rte+5FRd65uyLgp7B6qP1vhM6XXRdQx1XpK1u2YyZ891L8ZMqVZcVq7uGNuuYBiyd+okZ0p0hK+iE96WYfvgwl9UTMkbBq4IKqe0Kzbkm6FSl1dX2KE4l3kRn3Npcx8jpejrT1xqaRnpcydcxf+6irEyKsyMMn+7Kk9SNTM53mfTJNqRR+HSw058NPLKhcDYeaEhsFaMhzUFrMlMdXHnQy0OmQYLZbtMX0SsvFsygrhEd9KqiKlfaEOH0+fc6mhyauJrVb2PAjr+3+EAuQ4cQUZkrEte8aT+Ym13P6f612pzQD+pjck6NFH98mNQ3y/FmeNl+r+YvEtSSs6IdVsUzDsBxOH+vD4G8D6RRtG1JDaAsFuhf0j+cgyjnWGltRjH0B8gHNMNvWtatb1AvdU/F28ZcXwQdSqjA920YwiR7vMTDB1QTW9YNBD9stR7iaGipCyYpOtDH639SFzLYQJ9AjgCMhsS1M3IsH082A1115i4qrK2wCYVbKZ4mnEyLO1lRFT/oWjF2F4Z4PGgwWM5BRl+0D1RzKOOPTVJT78QOVj6ejISennnw2lBebI05gTeQmbPSI7Fm1gvReoxWkhoz2yg/nT6cwfz7UR4=
template:
- "Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) by %{author} %{result} in %{duration}"
email:
recipients:
on_success: never
on_failure: always
webhooks:
- https://www.google.com/webmasters/tools/ping?sitemap=https://whatthefuckjusthappenedtoday.com/sitemap.xml
- http://www.bing.com/ping?sitemap=https://whatthefuckjusthappenedtoday.com/sitemap.xml
slack:
secure: oh1suThkyoPLUxMFWaNPtlIMICvJLztnibJGw75FzMDHV6m2cqho51k2kF97jMoQ6C+P3S1rte+5FRd65uyLgp7B6qP1vhM6XXRdQx1XpK1u2YyZ891L8ZMqVZcVq7uGNuuYBiyd+okZ0p0hK+iE96WYfvgwl9UTMkbBq4IKqe0Kzbkm6FSl1dX2KE4l3kRn3Npcx8jpejrT1xqaRnpcydcxf+6irEyKsyMMn+7Kk9SNTM53mfTJNqRR+HSw058NPLKhcDYeaEhsFaMhzUFrMlMdXHnQy0OmQYLZbtMX0SsvFsygrhEd9KqiKlfaEOH0+fc6mhyauJrVb2PAjr+3+EAuQ4cQUZkrEte8aT+Ym13P6f612pzQD+pjck6NFH98mNQ3y/FmeNl+r+YvEtSSs6IdVsUzDsBxOH+vD4G8D6RRtG1JDaAsFuhf0j+cgyjnWGltRjH0B8gHNMNvWtatb1AvdU/F28ZcXwQdSqjA920YwiR7vMTDB1QTW9YNBD9stR7iaGipCyYpOtDH639SFzLYQJ9AjgCMhsS1M3IsH082A1115i4qrK2wCYVbKZ4mnEyLO1lRFT/oWjF2F4Z4PGgwWM5BRl+0D1RzKOOPTVJT78QOVj6ejISennnw2lBebI05gTeQmbPSI7Fm1gvReoxWkhoz2yg/nT6cwfz7UR4=
after_deploy: 'curl -X DELETE "https://api.cloudflare.com/client/v4/zones/2fa02b93146397fbf2001d812ab8b31f/purge_cache"
-H "X-Auth-Email: "$CLOUD_FLARE_EMAIL"" -H "X-Auth-Key: "$CLOUD_FLARE_API_KEY""
-H "Content-Type: application/json" --data "{\"purge_everything\":true}"'