forked from coala/projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (55 loc) · 1.55 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
services: docker
language: ruby
rvm:
- 2.5.1
cache: bundler
.disable_global: &disable_global
rvm: false
cache: false
before_install: []
install: []
script: []
env:
global:
- GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
- JDK="[email protected]"
jobs:
include:
- stage: moban
<<: *disable_global
language: python
python: 3.6
cache: pip
install: pip install moban
script: .ci/check_moban.sh
- stage: coala
<<: *disable_global
language: python
python: 3.6
cache: pip
before_install:
- curl "${GRAVIS}.install-jdk-travis.sh"
--output ~/.install-jdk-travis.sh
- source ~/.install-jdk-travis.sh
- npm install -g csslint@^1.0.5
install:
- cOALA_ZIP_URL=https://github.com/coala/coala/archive/master.zip
- curl -fsSL -o coala-master.zip $cOALA_ZIP_URL
- pip install coala-master.zip
- BEARS_ZIP_URL=https://codeload.github.com/coala/coala-bears/zip
- curl -fsSL -o coala-bears.zip $BEARS_ZIP_URL/master
- pip install coala-bears.zip[alldeps] --pre -U
script: coala --ci
before_install:
# Speeds installation of html-proofer
- export NOKOGIRI_USE_SYSTEM_LIBRARIES=true
# Assume bundler is being used, therefore
# the `install` step will run `bundle install` by default.
script:
- .ci/build.sh
notifications:
email: false
webhooks: https://www.travisbuddy.com/
on_success: never
# Route your build to the container-based infrastructure for a faster build
sudo: false