Skip to content

Commit 732b440

Browse files
authored
Simplify Travis file
1 parent 0af8227 commit 732b440

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.travis.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,26 @@ node_js:
44

55
cache:
66
yarn: true
7+
directories:
8+
- $HOME/.cache/pip
79

810
env:
911
global:
1012
secure: gjiWHIgNjLXuEFmLiepiOTHOuauHfeKHutrE0sBwFZUQzP9FoGTZzJub1z8/vm+hhygA+TZbB0iclygHyNrXCkZyNdnZXChXl4iPdYqY3OARPOAbQff16+/XSUDsZ/Ok1etdb3kKor1R4rBt/WywBvXmmdggumTA3yT5ExI+dyomdONo4yMUZ7g1la0ehMEzGqyVjt0nUW31PN3l6dI1qgigHCuotSrrpWP6fTXuUh5l6YA7KXb/V1hJxaGENLz1Cdfk0sF66e4KsV/DX6JZSqpvdqVB8OTPU+si511yJtGS8OeuLs4RqmXMLrY/ChCodlYnfCE+NleBFpUnCVqth/RDRh7LvplUJlpsXNcfyoA3mOFmZa0euOMCqJ3qwESz802Y9c5oN63hn2OUF/raFDc3SMMC86FFHxwyYjz5+yzXYupnFNj39NKdQ1v1KBbY8BD8UT8RU3mlu4/3LRz0tSamREHj3pGgBmvgUZfUE1dMngeaZjOmBaIZH8TnKQ75CvfnoT+LJnZo6g9g4uwz6jtaIziSMZ0OW/95nF8yx+xONbHEtt5ex5M09NOFsN2vB2bcUAgIjyGrmmNLQadwJyQv557IGPEE5CyGhJpXh9XZ+WMw2vO45MOw4sQPkARF6OJkMteqFc2NLXMOQJ07EScbgEKR/9VOcyxIk/7a7nc=
1113

12-
before_install:
13-
- curl -o- -L https://yarnpkg.com/install.sh | bash
14-
- export PATH="$HOME/.yarn/bin:$PATH"
15-
1614
install:
17-
- pip install --user proselint
15+
- pip install --quiet --user proselint
1816
- cp .proselintrc ~
1917
- cd ..
20-
- git clone https://github.com/api-platform/website.git
18+
- git clone --depth 1 https://github.com/api-platform/website.git
2119
- cd website
22-
- yarn install
20+
- yarn install --silent
2321
- ln -s $TRAVIS_BUILD_DIR src/pages/docs
2422
- cd $TRAVIS_BUILD_DIR
2523

2624
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
2927
- bin/generate-nav
3028
- GATSBY_BRANCH_NAME=$TRAVIS_BRANCH yarn gatsby build
3129
# Preserve artifacts

0 commit comments

Comments
 (0)