Skip to content

Commit

Permalink
Use rubocop in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 8, 2016
1 parent d4521db commit d1c1a53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ matrix:
include:
- os: linux
rvm: 2.0
env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_MPC="yes"
env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_MPC="yes" RUBOCOP="yes"
- os: linux
rvm: 2.3.0
env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_MPC="yes"
Expand Down Expand Up @@ -66,6 +66,8 @@ script:
- export CFLAGS="-Werror"
# Install ruby gem
- gem install symengine-0.1.0.gem --install-dir $HOME --verbose -- -DSymEngine_DIR=$our_install_dir
# Check for code style using rubocop
- if [[ "${RUBOCOP}" == "yes" ]]; then rubocop; fi

# Test ruby gem
- gem install gem-path --no-ri --no-rdoc
Expand Down

0 comments on commit d1c1a53

Please sign in to comment.