forked from Shopify/quilt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (45 loc) · 1.88 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
shared:
node_container: &node_container
language: node_js
node_js:
- 10.16.3
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.17.3
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn install --production=false --frozen-lockfile
cache: yarn
matrix:
include:
- <<: *node_container
name: 'Node - build, type-check, and end-to-end tests'
script:
- yarn build --verbose
- yarn test:ci --testPathPattern react-server address
- <<: *node_container
name: 'Node - unit tests'
script:
- yarn test:ci --testPathIgnorePatterns react-server address
- <<: *node_container
name: 'Node - lint'
script:
- yarn lint
- yarn ci:lint-docs
- language: ruby
name: 'Gem - test and lint'
before_install:
- gem install bundler -v 2.0.2
- cd gems/quilt_rails
- bundle config path /tmp/bundle
install:
- bundle install --clean
script:
- bundle exec rake test
- bundle exec rubocop --fail-fast
cache:
directories:
- /tmp/bundle
notifications:
slack:
on_pull_requests: false
secure: 1dRk1kc3vEav6ut7FG5hj8Gowx99B/M4hEXf0b9RDHGEhaWVoDbDGZEqGUn1fdltPLNPmlGp4tM9b00ISu1MMflYkJl3l/8Czp/xGSbzD7FZYACJB2IujHms1xhIijSFkD5+EG3hcwmleWqvySjSQ42z5saaNHlM/mO5kUMIuTgaqqQV2wZC8mN0eZva85Y8HzYIeT0a5DvrTOupUiXKxk8M+y5k9HCuRYTLbgDcdjRR0u0RbGak6PVRFlSEBV4hEjdKS1aQyjXutKWfZxdgWiQbpdC0RmTNTePN0p53pt7oPFHv+BSN7eWzLkeMquIu02r2EEAb9tnYRpChuuFOphguSI5BDYtS1/zOx+VZhkXzoo4nq5iEbh8vYEXI+mj5op9Lz+v38I9j3haCjzjz/PeI7W8/DUIPHhO3t9fqKXqySm/2bx0ZSdSyW8Em63v+8LudkxEcBVLtn1ZPvOCOCfRt+FvzlwJZThzTJ92efxPuFiL5AZoeU4RQGpV/3A7W/wnHt830nNgiUAjMMXhuznF1Fnn4rsGh+Ntr8m18P0DUx+XPflp/r1EfPnkapwSM02tUwF3xunT6i++xg8tuTcVOjWLmq3CBgZ+Q/7g3Ff6Ykcfupqgm5bDgzkQ9bNZM/jAN0cDavzK9i0AELqZkqFcrQclEarL9NgAeCvsl0yk=