atom-beautify/.travis.yml

73 lines
1.9 KiB
YAML
Raw Normal View History

2016-02-23 00:48:54 -07:00
language: objective-c
2016-02-23 03:32:59 -07:00
osx_image: xcode7.3
2016-02-23 00:48:54 -07:00
sudo: false
git:
depth: 10
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
2015-02-08 19:10:46 -07:00
env:
global:
- APM_TEST_PACKAGES="language-marko language-html-swig language-svg language-d mavensmate-atom"
matrix:
- ATOM_CHANNEL=stable
- ATOM_CHANNEL=beta
2015-02-08 19:10:46 -07:00
2015-04-29 02:17:37 -06:00
cache:
2016-02-20 14:45:57 -07:00
- pip: true
- bundler: true
2015-04-29 02:17:37 -06:00
- directories:
2016-02-20 14:45:57 -07:00
- vendor/bundle # gems are installed here, https://docs.travis-ci.com/user/languages/ruby/#Dependency-Management
2015-04-29 02:17:37 -06:00
- node_modules
2015-04-29 10:13:06 -06:00
- $HOME/.atom
2015-11-02 10:25:39 -07:00
- $HOME/.stack
2015-04-29 02:17:37 -06:00
before_install:
# Update Homebrew
2014-06-15 22:09:11 -06:00
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/versions
# Ruby language support
# - gem install ruby-beautify --verbose
- gem install rubocop
- gem install htmlbeautifier
- gem install puppet-lint
# Python language support
2014-06-15 21:49:14 -06:00
- brew install python
- pip install --upgrade autopep8
2015-11-19 19:25:22 -07:00
- pip install --upgrade isort
# SQL language support
- pip install --upgrade sqlparse
# Java, C, C++, C#, Objective-C, D, Pawn, Vala
- brew install uncrustify
# PHP
- brew tap homebrew/homebrew-php
- brew install php56 || true
- brew gist-logs php56 || true
- echo -e "\n[Phar]\nphar.readonly = Off\n" >> /usr/local/etc/php/5.6/php.ini
- brew install php-cs-fixer || true
- brew gist-logs php-cs-fixer || true
# CoffeeScript
- npm install coffee-formatter
2015-10-29 13:41:57 -06:00
# Haskell
# - brew install haskell-stack
# - stack setup
# - stack install stylish-haskell
2015-12-10 06:42:08 -07:00
# Elm
- curl -L -o /tmp/elm-format.tgz https://github.com/avh4/elm-format/releases/download/0.1-alpha2/elm-format-0.1-alpha2-mac-x64.tgz
2015-12-10 17:51:40 -07:00
- tar xvzf /tmp/elm-format.tgz -C /usr/local/bin