This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"dokku": { | |
"predeploy": "npm run build" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Passos que o seu Servidor de CI deverá seguir (test/build/deploy) | |
stages: | |
- deploy | |
# nome da tarefa do CI | |
deploy_prod: | |
# Passo a que esta tarefa pertence | |
stage: deploy | |
# definição de comandos necessários para essa tarefa | |
script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:8.7.0 | |
#-------------------------- Basic Test Setup ------------------------# | |
#Chrome dependencies and Yarn installation | |
RUN apt-get update -y && apt-get -y -q install curl sudo gnupg apt-transport-https dpkg gconf-service libgconf-2-4 fonts-liberation xdg-utils libxss1 libappindicator1 libindicator7 libasound2 libgtk-3-0 libnspr4 libnss3 lsb-release unzip | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
RUN apt-get update -y && apt-get -y -q install -f yarn | |
#headless Chrome installation | |
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const SCREENSHOT_PATH = 'test/integration/screenshots/'; | |
const BINPATH = 'test/integration/libs'; | |
const TIME_OUT = process.env.NODE_ENV !== 'testing' ? 2000 : false; | |
const CHROME = process.env.NODE_ENV !== 'testing' ? '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' : '/usr/bin/google-chrome'; | |
module.exports = { | |
src_folders: ['test/integration/specs'], | |
output_folder: 'test/integration/reports', | |
selenium: { | |
start_process: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Project aliases | |
alias proj="cd && cd c:/ && cd Projects" | |
alias repo="cd && cd c:/ && cd Projects/repo" | |
# Git aliases | |
alias st="git status" | |
alias add="git add " | |
alias gb="git branch " | |
alias com="git commit -am" | |
alias merge="git merge " |