atom-beautify/.travis.yml

53 lines
1.3 KiB
YAML

language: objective-c
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a7cbe520877895f3154a
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: true # default: false
email:
on_success: never
on_failure: change
script: sh build-package.sh
env:
- APM_TEST_PACKAGES="language-typescript language-marko language-tss"
cache:
- pip
- directories:
- node_modules
- $HOME/.atom
before_install:
# Update Homebrew
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/versions
# Ruby language support
# - gem install ruby-beautify --verbose
- gem install rubocop
# Python language support
- brew install python
- pip install --upgrade autopep8
# SQL language support
- pip install --upgrade sqlparse
# Markdown language support
- brew install pandoc
# Java, C, C++, C#, Objective-C, D, Pawn, Vala
- brew install uncrustify
# Golang
- brew install go
# PHP
# - brew tap homebrew/homebrew-php
# - brew gist-logs php56
# - brew install php56
# - echo -e "\n[Phar]\nphar.readonly = Off\n" >> /usr/local/etc/php/5.6/php.ini
# - brew gist-logs php-cs-fixer
# - brew install php-cs-fixer
# CoffeeScript
- npm install coffee-formatter