2014-06-15 21:34:02 -06:00
|
|
|
notifications:
|
2014-12-28 13:33:13 -07:00
|
|
|
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
|
2014-06-15 21:34:02 -06:00
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: change
|
|
|
|
|
2014-12-28 11:30:36 -07:00
|
|
|
script: sh build-package.sh
|
2014-06-15 21:41:14 -06:00
|
|
|
|
2018-01-17 12:08:36 -07:00
|
|
|
language: generic
|
|
|
|
|
2018-01-05 22:04:01 -07:00
|
|
|
cache:
|
|
|
|
timeout: 1000
|
2016-05-14 10:53:15 -06:00
|
|
|
|
2018-01-05 22:04:01 -07:00
|
|
|
git:
|
|
|
|
depth: 1
|
2016-05-14 10:53:15 -06:00
|
|
|
|
2018-01-05 22:04:01 -07:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
sudo: required
|
2016-05-14 10:53:15 -06:00
|
|
|
|
2015-02-08 19:10:46 -07:00
|
|
|
env:
|
2016-02-23 00:43:54 -07:00
|
|
|
global:
|
2018-01-05 22:04:01 -07:00
|
|
|
matrix:
|
|
|
|
- ATOM_SCRIPT_NAME=atom-beta APM_SCRIPT_NAME=apm-beta
|
|
|
|
- ATOM_SCRIPT_NAME=atom APM_SCRIPT_NAME=apm
|
2015-02-08 19:10:46 -07:00
|
|
|
|
2016-05-14 10:53:15 -06:00
|
|
|
addons:
|
|
|
|
apt:
|
2016-05-20 02:38:40 -06:00
|
|
|
sources:
|
|
|
|
- sourceline: 'deb http://dist.crystal-lang.org/apt crystal main'
|
|
|
|
- sourceline: 'deb http://ppa.launchpad.net/avsm/ppa/ubuntu trusty main'
|
|
|
|
- sourceline: 'deb http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu trusty main'
|
2016-05-14 10:53:15 -06:00
|
|
|
packages:
|
|
|
|
- build-essential
|
|
|
|
- git
|
|
|
|
- libgnome-keyring-dev
|
|
|
|
- fakeroot
|
2016-05-20 02:38:40 -06:00
|
|
|
- crystal
|
|
|
|
- camlp4
|
2017-11-15 23:22:47 -07:00
|
|
|
- aspcud
|
2016-05-20 02:38:40 -06:00
|
|
|
- php5-cli
|
|
|
|
- golang
|
2016-05-14 10:53:15 -06:00
|
|
|
|
2015-04-29 02:17:37 -06:00
|
|
|
cache:
|
2016-05-20 02:38:40 -06:00
|
|
|
pip: true
|
|
|
|
bundler: true
|
|
|
|
directories:
|
|
|
|
- vendor/bundle # gems are installed here, https://docs.travis-ci.com/user/languages/ruby/#Dependency-Management
|
|
|
|
- node_modules
|
|
|
|
- $HOME/.atom
|
2018-01-05 22:04:01 -07:00
|
|
|
- $HOME/.opam
|
2015-04-29 02:17:37 -06:00
|
|
|
|
2014-06-15 21:41:14 -06:00
|
|
|
before_install:
|
2018-01-05 22:04:01 -07:00
|
|
|
# linux: Install Nix, Nix packages, upgrade pip, and install python packages
|
|
|
|
# osx: Update Homebrew, remove conflicting cask, brew bundle, symlink elm-format,
|
|
|
|
# upgrade pip, and install python packages
|
2016-05-20 02:38:40 -06:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
2018-01-05 22:04:01 -07:00
|
|
|
curl https://nixos.org/nix/install | sh &&
|
|
|
|
. ~/.nix-profile/etc/profile.d/nix.sh &&
|
|
|
|
nix-env -i uncrustify R elm-format terraform atom atom-beta opam &&
|
|
|
|
pip install --upgrade pip &&
|
|
|
|
pip install --user -r requirements.txt;
|
|
|
|
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
brew update && brew cask zap oclint && brew bundle &&
|
|
|
|
ln -s /usr/local/bin/elm-format-0.17 /usr/local/bin/elm-format &&
|
|
|
|
pip2 install --upgrade pip &&
|
|
|
|
pip2 install -r requirements.txt;
|
2017-06-16 17:54:55 -06:00
|
|
|
else
|
2018-01-05 22:04:01 -07:00
|
|
|
echo Error:TRAVIS_OS_NAME && exit 1;
|
2017-06-16 17:54:55 -06:00
|
|
|
fi
|
2018-01-05 22:04:01 -07:00
|
|
|
# Ruby language support
|
|
|
|
- bundle install
|
2016-08-24 03:44:30 -06:00
|
|
|
# R
|
2018-01-05 22:04:01 -07:00
|
|
|
- Rscript --version
|
2014-12-28 00:41:53 -07:00
|
|
|
# PHP
|
2018-01-05 22:04:01 -07:00
|
|
|
- composer install
|
2014-12-28 15:59:15 -07:00
|
|
|
# CoffeeScript
|
|
|
|
- npm install coffee-formatter
|
2016-04-19 15:15:36 -06:00
|
|
|
# OCaml
|
2018-02-19 11:13:23 -07:00
|
|
|
# - opam init --auto-setup
|
2017-10-02 17:06:04 -06:00
|
|
|
# Init environment variables for opam
|
2018-02-19 11:13:23 -07:00
|
|
|
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
# eval `opam config env`;
|
|
|
|
# fi
|
|
|
|
# - opam install --yes ocp-indent
|