-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
26 lines (26 loc) · 1000 Bytes
/
.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
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- "10"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh
- export PATH="$HOME/.yarn/bin:$PATH"
- rm -rf yarn.lock
- yarn add @babel/core @babel/cli @babel/plugin-proposal-class-properties @babel/preset-react
@babel/plugin-proposal-export-default-from @babel/plugin-proposal-export-namespace-from
@babel/plugin-proposal-object-rest-spread @babel/plugin-syntax-dynamic-import
@babel/plugin-transform-template-literals @babel/plugin-proposal-function-bind
@babel/plugin-transform-runtime @babel/runtime @babel/register regenerator-runtime
babel-loader [email protected] jest babel-jest enzyme enzyme-adapter-react-16
react-test-renderer semantic-release@next semantic-release-cli travis-deploy-once
@semantic-release/git -D
- yarn add react react-dom prop-types
script:
- yarn run test
- yarn run build
after_success:
- yarn run semantic-release