Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Added yarn
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
  • Loading branch information
mssola committed Mar 1, 2017
1 parent 74ba677 commit 8038290
Show file tree
Hide file tree
Showing 2 changed files with 1,424 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,32 @@ matrix:

before_install:
- gem update --system

# Use the latest stable Node.js
- nvm install stable
- nvm use stable
- npm install

# Install Yarn
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update
- sudo apt-get install yarn
- yarn install

before_script:
- mysql -e 'create database portus_test;'

script:
# Ruby tests
- bundle exec rspec spec packaging/suse/portusctl/spec

# Style and security checks
- bundle exec rubocop -V
- bundle exec rubocop -F
- bundle exec brakeman -z -A -x CheckUnscopedFind,CheckRender
- npm --harmony run eslint

# Javascript style
- yarn run eslint

env:
global:
Expand Down
Loading

0 comments on commit 8038290

Please sign in to comment.