File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -4,28 +4,26 @@ node_js:
4
4
5
5
cache :
6
6
yarn : true
7
+ directories :
8
+ - $HOME/.cache/pip
7
9
8
10
env :
9
11
global :
10
12
secure : gjiWHIgNjLXuEFmLiepiOTHOuauHfeKHutrE0sBwFZUQzP9FoGTZzJub1z8/vm+hhygA+TZbB0iclygHyNrXCkZyNdnZXChXl4iPdYqY3OARPOAbQff16+/XSUDsZ/Ok1etdb3kKor1R4rBt/WywBvXmmdggumTA3yT5ExI+dyomdONo4yMUZ7g1la0ehMEzGqyVjt0nUW31PN3l6dI1qgigHCuotSrrpWP6fTXuUh5l6YA7KXb/V1hJxaGENLz1Cdfk0sF66e4KsV/DX6JZSqpvdqVB8OTPU+si511yJtGS8OeuLs4RqmXMLrY/ChCodlYnfCE+NleBFpUnCVqth/RDRh7LvplUJlpsXNcfyoA3mOFmZa0euOMCqJ3qwESz802Y9c5oN63hn2OUF/raFDc3SMMC86FFHxwyYjz5+yzXYupnFNj39NKdQ1v1KBbY8BD8UT8RU3mlu4/3LRz0tSamREHj3pGgBmvgUZfUE1dMngeaZjOmBaIZH8TnKQ75CvfnoT+LJnZo6g9g4uwz6jtaIziSMZ0OW/95nF8yx+xONbHEtt5ex5M09NOFsN2vB2bcUAgIjyGrmmNLQadwJyQv557IGPEE5CyGhJpXh9XZ+WMw2vO45MOw4sQPkARF6OJkMteqFc2NLXMOQJ07EScbgEKR/9VOcyxIk/7a7nc=
11
13
12
- before_install :
13
- - curl -o- -L https://yarnpkg.com/install.sh | bash
14
- - export PATH="$HOME/.yarn/bin:$PATH"
15
-
16
14
install :
17
- - pip install --user proselint
15
+ - pip install --quiet -- user proselint
18
16
- cp .proselintrc ~
19
17
- cd ..
20
- - git clone https://github.com/api-platform/website.git
18
+ - git clone --depth 1 https://github.com/api-platform/website.git
21
19
- cd website
22
- - yarn install
20
+ - yarn install --silent
23
21
- ln -s $TRAVIS_BUILD_DIR src/pages/docs
24
22
- cd $TRAVIS_BUILD_DIR
25
23
26
24
script :
27
- - find . -name '*.md' ! -name 'conduct.md' ! -name 'heroku.md' -exec proselint {} \;
28
- - cd $TRAVIS_BUILD_DIR/ ../website
25
+ - find . -name '*.md' -exec proselint {} \;
26
+ - cd ../website
29
27
- bin/generate-nav
30
28
- GATSBY_BRANCH_NAME=$TRAVIS_BRANCH yarn gatsby build
31
29
# Preserve artifacts
You can’t perform that action at this time.
0 commit comments