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

F/provisioning rollup #168

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ insert_final_newline = true
trim_trailing_whitespace = true

; Matches the exact files package.json and .travis.yml
[{package.json,.travis.yml,composer.json,*.yaml,*.yml}]
[{package.json,.travis.yml,composer.json,*.yaml,*.yml,*.scss}]
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
*.mo binary
*.pdf binary
*.phar binary

# Paths, files and extensions managed by Large File Support.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
/.vagrant/
/phpunit.xml

# Composer Dependencies
# Composer Dependencies & Build Tooling
/vendor/*
/node_modules
/bower_components
/.sass-cache
/webroot/css/qunit.css


# OS X
.DS_Store
Expand All @@ -24,3 +28,6 @@ Icon?
Network Trash Folder
Temporary Items
.apdisk

# IDEs
/.idea/
270 changes: 270 additions & 0 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
#########################
## Sample Sass Lint File
#########################
# Ref: https://raw.githubusercontent.com/sasstools/sass-lint/master/docs/sass-lint.yml
# Linter Options
options:
# Don't merge default rules
# merge-default-rules: false
# Set the formatter to 'html'
#formatter: html
# Output file instead of logging results
#output-file: 'linters/sass-lint.html'
# File Options
#files:
# include: 'sass/**/*.s+(a|c)ss'
# ignore:
# - 'sass/vendor/**/*.*'
# Rule Configuration
rules:
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 2
mixins-before-declarations:
- 2
-
exclude:
- breakpoint
- mq

no-warn: 1
no-debug: 1
no-ids: 2
no-important: 2
hex-notation:
- 2
-
style: uppercase
indentation:
- 2
-
size: 2
property-sort-order:
- 1
-
order:
- display
- margin
ignore-custom-properties: true
variable-for-property:
- 2
-
properties:
- margin
- content






#options:
# formatter: stylish
#
#
#files:
# include: 'css/**/*.scss'
#
#
#rules:
# border-zero:
# - 1
# - convention: none
#
# brace-style:
# - 1
# - style: 1tbs
# allow-single-line: false
#
# clean-import-paths:
# - 1
# - leading-underscore: false
# filename-extension: false
#
# empty-args:
# - 1
# - include: false
#
# empty-line-between-blocks:
# - 1
# - include: true
# allow-single-line-rulesets: false
#
# extends-before-declarations:
# - 1
#
# extends-before-mixins:
# - 1
#
# final-newline:
# - 1
# - include: true
#
# force-attribute-nesting:
# - 0
#
# force-element-nesting:
# - 0
#
# foce-pseudo-nesting:
# - 0
#
# function-name-format:
# - 1
# - allow-leading-underscore: true
# convention: hyphenatedlowercase
#
# hex-length:
# - 1
# - style: short
#
# hex-notation:
# - 1
# - style: uppercase
#
# indentation:
# - 1
# - size: 1
#
# leading-zero:
# - 1
# - include: false
#
# mixin-name-format:
# - 1
# - allow-leading-underscore: true
# convention: hyphenatedlowercase
#
# mixins-before-declarations:
# - 1
#
# nesting-depth:
# - 2
# - max-depth: 4
#
# no-color-keywords:
# - 0
#
# no-color-literals:
# - 2
# - allow-rgba: true
#
# no-css-comments:
# - 0
#
# no-debug:
# - 0
#
# no-duplicate-properties:
# - 2
#
# no-empty-rulesets:
# - 1
#
# no-extends:
# - 0
#
# no-ids:
# - 0
#
# no-important:
# - 2
#
# no-invalid-hex:
# - 2
#
# no-mergable-selectors:
# - 0
#
# no-misspelled-properties:
# - 2
#
# no-qualifying-elements:
# - 0
#
# no-trailing-zero:
# - 1
#
# no-transition-all:
# - 1
#
# no-url-protocols:
# - 1
#
# no-vendor-prefixes:
# - 2
#
# no-warn:
# - 0
#
# one-declaration-per-line:
# - 1
#
# placeholder-in-extends:
# - 0
#
# placeholder-name-format:
# - 1
# - allow-leading-underscore: true
# convention: hyphenatedlowercase
#
# property-sort-order:
# - 1
# - order: concentric
#
# quotes:
# - 1
# - style: single
#
# shorthand-values:
# - 0
#
# single-line-per-selector:
# - 1
#
# space-after-bang:
# - 1
# - include: false
#
# space-after-colon:
# - 1
# - include: true
#
# space-after-comma:
# - 1
# - include: true
#
# space-before-bang:
# - 1
# - include: true
#
# space-before-brace:
# - 1
# - include: true
#
# space-before-colon:
# - 1
# - include: false
#
# space-between-parens:
# - 1
# - include: false
#
# trailing-semicolon:
# - 1
# - include: true
#
# url-quotes:
# - 1
#
# variable-for-property:
# - 0
#
# variable-name-format:
# - 1
# - allow-leading-underscore: true
# convention: hyphenatedlowercase
#
# zero-unit:
# - 1
# - include: false
16 changes: 14 additions & 2 deletions .travis.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ php:
cache:
directories:
- $HOME/.composer/cache
- bower_components
- node_modules

# Environment Variables to set
env:
Expand All @@ -34,22 +36,32 @@ branches:
- gh-pages

before_install:
- composer self-update
#- composer self-update
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

install:
- composer config -g github-oauth.github.com $GITHUB_TOKEN
- composer install --no-interaction
- npm install --save-dev

before_script:
- phpenv rehash
- mysql -e 'DROP DATABASE IF EXISTS `travis_app`; CREATE DATABASE `travis_app`;'

script:
# The -n option can be used to suppress warnings
# Test the main app
- bin/codesniffer-run
- bin/phpunit -v
- bin/coverage-ensure 90
# Test the Javascript
#- grunt qunit --verbose --force
# Run Behat behavior tests
#- mysql -e 'DROP DATABASE IF EXISTS `travis_app`; CREATE DATABASE `travis_app`;'
#- bin/cake server -p 8765 &
#- sleep 3
#- bin/migrations
#- bin/cake basic_seed -v
#- bin/behat -v -p travis

notifications:
email: false
Loading