aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: d14154239f6b07af965b979cadebb92a3494d715 (plain) (blame)
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
sudo: false
dist: trusty

matrix:
  include:
    - language: php
      php: 7.3
    - language: php
      php: 7.2
    - language: php
      php: 7.1
    - language: node_js
      node_js: 8
      cache:
        yarn: true
        directories:
          - $HOME/.cache/yarn

      install:
        - yarn install

      before_script:
        - PATH=${PATH//:\.\/node_modules\/\.bin/}

      script:
        - yarn run build # Just to be sure that the build isn't broken
        - make eslint
        - make sasslint
    - language: python
      python: 3.6
      cache:
        directories:
          - $HOME/.cache/pip
      install:
        - pip install mkdocs
      script:
        - mkdocs build --clean

cache:
  directories:
    - $HOME/.composer/cache

install:
  - composer install --prefer-dist

before_script:
  - PATH=${PATH//:\.\/node_modules\/\.bin/}

script:
  - make clean
  - make check_permissions
  - make all_tests