Skip to content
Merged
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
29 changes: 15 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
language: node_js
node_js:
- 4
- 6

sudo: required
node_js:
- '7'
- '6'
- '4'
before_install: # if "install" is overridden
# Repo for Yarn
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn

script: npm test
cache:
yarn: true
directories:
- $HOME/.yarn-cache
- node_modules

- $HOME/.yarn-cachegi
install:
- yarn install
- yarn
- npm link ../create-elm-app

script: npm test

before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
notifications:
email:
- eduard.kyvenko@gmail.com
email: false
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-elm-app",
"version": "0.2.1",
"version": "0.0.0-development",
"description": "Elm apps with zero configuration",
"keywords": [
"elm",
Expand All @@ -17,10 +17,12 @@
"create-elm-app": "./bin/create-elm-app-cli.js"
},
"scripts": {
"commit": "git-cz",
"precommit": "./node_modules/.bin/eslint bin/ config/ scripts/ tests/",
"test": "npm run -s test:cli && npm run -s test:functional",
"test:functional": "mocha tests/*.spec.js --reporter spec --timeout 15000",
"test:cli": "mocha tests/cliAccessibility.js --reporter spec --timeout 15000"
"test:cli": "mocha tests/cliAccessibility.js --reporter spec --timeout 15000",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -69,10 +71,17 @@
},
"devDependencies": {
"chai": "^3.5.0",
"cz-conventional-changelog": "^1.2.0",
"dir-compare": "^1.3.0",
"eslint": "^3.12.2",
"husky": "^0.11.9",
"mocha": "^3.2.0",
"rimraf": "^2.5.4"
"rimraf": "^2.5.4",
"semantic-release": "^6.3.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
Loading