Skip to content

Commit

Permalink
Make Travis use the NodeJS environment & yarn (#275)
Browse files Browse the repository at this point in the history
* Make Travis use the NodeJS environment & yarn
* Removed the manual `nvm install …` travis setup, in favour of travis’ pre-defined node version property.
* Updated the bitstyles `.nvmrc`
  • Loading branch information
René Roth authored and planktonic committed Jan 30, 2017
1 parent 1b05a5d commit b9c7c5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
5.7
6.9
14 changes: 9 additions & 5 deletions .travis.yml
@@ -1,15 +1,19 @@
cache:
yarn: true
directories:
- node_modules
rvm:
- 2.2
language: node_js
sudo: false
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
node_js:
- "6.9"
install:
- gem uninstall bundler
- gem install bundler --version '1.12'
before_script:
- nvm install 6.9.1
- nvm use 6.9.1
- npm install
- yarn
script:
- npm run lint
- npm run build

0 comments on commit b9c7c5f

Please sign in to comment.