Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update in prod #21

Merged
merged 22 commits into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
202344e
primeiros testes com o cypress
Mar 10, 2020
7f3aa7f
primeiros testes com o cypress
Mar 10, 2020
e7fef60
build(deps): bump acorn from 5.7.3 to 5.7.4
dependabot[bot] Apr 4, 2020
31454c7
improvement(cypress): integration with cypress
Apr 13, 2020
4a62366
Merge pull request #16 from iranjunior/improvement/cypress
iranjunior Apr 13, 2020
4faf2c4
Merge commit 'e7fef6015f6af6276125c9b0b7fb845e61de3c27' into develop
Apr 13, 2020
d01d6ea
Merge branch 'develop' into improvement/responsive
Apr 13, 2020
1a15fde
improvement(responsive): melhoria na responsividade
Apr 13, 2020
083c5a1
improvement(responsive): improvement in reponsive
Apr 14, 2020
555cc53
fix(responsive): link in cards
Apr 14, 2020
6daa411
Merge pull request #17 from iranjunior/improvement/responsive
iranjunior Apr 14, 2020
7c6a6df
fix(get Curriculum): get currilum okay
Apr 15, 2020
aec4bcf
Merge pull request #18 from iranjunior/fix/getCurriculum
iranjunior Apr 15, 2020
c0d2388
improvement(api): created one wrapper for Api
Apr 15, 2020
8e65f63
Merge pull request #19 from iranjunior/improvement/wrapper-api
iranjunior Apr 15, 2020
52f745d
resolve conflit
Apr 15, 2020
cbdbdb4
clean(package): cleaning package.json
Apr 15, 2020
f65126c
improvement(test): tests in 30%
Apr 16, 2020
751df8c
improvement(test): tests in 70%
Apr 16, 2020
4a99417
improvement(coverage): 100% in coverage
Apr 16, 2020
9c56b4b
Merge pull request #20 from iranjunior/improvement/test-units
iranjunior Apr 16, 2020
039556b
feature(ci): using travis ci
Apr 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: $COVERALLS_REPO_TOKEN
43 changes: 35 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"env": {
"browser": true,
"es6": true
"es6": true,
"jest": true,
"cypress/globals": true
},
"extends": [
"airbnb",
Expand All @@ -20,15 +22,40 @@
},
"plugins": [
"react",
"jsx-a11y"
"jsx-a11y",
"cypress"
],
"overrides": [{
"files":["./src/**/*.stories.js"],
"rules": {
"import/no-extraneous-dependencies": "off",
"react/jsx-filename-extension": "off"
"overrides": [
{
"files":["./src/**/*.stories.js"],
"rules": {
"import/no-extraneous-dependencies": "off",
"react/jsx-filename-extension": "off",
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
"cypress/assertion-before-screenshot": "warn",
"cypress/no-force": "warn"
}
},
{
"files": [
"**.spec.js", "**.stories.js"
],
"rules": {
"react/jsx-filename-extension": "off",
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"import/no-extraneous-dependencies": "off"
}
}, {
"files": [
"**.jsx"
],
"rules": {
"react/jsx-props-no-spreading": "off"
}
}
}],
],
"rules": {
}
}
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: node_js
sudo: false
node_js:
- 12
branches:
only:
- master
cache:
yarn: true
directories:
- node_modules
jobs:
fast_finish: true
install:
- "yarn install --production=false"
script:
- yarn test:coverage --detectOpenHandles --forceExit --coverageReporters=text-lcov | ./node_modules/.bin/coveralls
deploy: &heroku
provider: heroku
app: $HEROKU_APP_NAME
api_key: $HEROKU_APP_KEY
on:
repo: $HEROKU_APP_REPO
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"titleBar.inactiveForeground": "#e7e7e799",
"statusBar.background": "#007fff",
"statusBarItem.hoverBackground": "#3399ff",
"statusBar.foreground": "#e7e7e7"
"statusBar.foreground": "#e7e7e7",
"statusBar.border": "#007fff",
"titleBar.border": "#007fff"
},
"peacock.color": "#007fff"
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Site Pessoal

[![Build Status](https://travis-ci.org/iranjunior/portfolio.svg?branch=develop)](https://travis-ci.org/iranjunior/portfolio)
[![Coverage Status](https://coveralls.io/repos/github/iranjunior/portfolio/badge.svg?branch=develop)](https://coveralls.io/github/iranjunior/portfolio?branch=develop)
[![dependencies Status](https://david-dm.org/iranjunior/portfolio/status.svg)](https://david-dm.org/iranjunior/portfolio)
[![devDependencies Status](https://david-dm.org/iranjunior/portfolio/dev-status.svg)](https://david-dm.org/iranjunior/portfolio?type=dev)
![GitHub issues](https://img.shields.io/github/issues/iranjunior/portfolio)

**Tabela de Conteudos**

- [Sobre o projeto](#sobre-o-projeto)
Expand Down
4 changes: 4 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"viewportWidth": 1280,
"viewportHeight": 720
}
5 changes: 5 additions & 0 deletions cypress/fixtures/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io",
"body": "Fixtures are a great way to mock data for responses to routes"
}
Loading