diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2015-02-02 22:49:40 -0500 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2015-02-03 22:08:10 -0500 |
| commit | 04e4b49de75540b400265f47e02ef35a52d96a70 (patch) | |
| tree | 4b28b970044e29f93392781a0384896d0f2a3e7b | |
| parent | 67f483238447d465eaaf1d82b9d85fa8d7fc2bec (diff) | |
| download | rust-mode-04e4b49de75540b400265f47e02ef35a52d96a70.tar.gz | |
Add .travis.yml
| -rw-r--r-- | .travis.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..04231a7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +language: generic + +env: + matrix: + - EMACS=emacs23 + - EMACS=emacs24 + - EMACS=emacs-snapshot + +install: + - if [ "$EMACS" = 'emacs23' ]; then + sudo apt-get -qq update && + sudo apt-get -qq -f install && + sudo apt-get -qq install emacs23-gtk emacs23-el; + fi + - if [ "$EMACS" = 'emacs24' ]; then + sudo add-apt-repository -y ppa:cassou/emacs && + sudo apt-get -qq update && + sudo apt-get -qq -f install && + sudo apt-get -qq install emacs24 emacs24-el; + fi + - if [ "$EMACS" = 'emacs-snapshot' ]; then + sudo add-apt-repository -y ppa:ubuntu-elisp/ppa && + sudo apt-get -qq update && + sudo apt-get -qq -f install && + sudo apt-get -qq install emacs-snapshot && + sudo apt-get -qq install emacs-snapshot-el; + fi + +# Emacs 23 does not come with ERT. Download it and have emacs find it +before_script: + - if [ "$EMACS" = 'emacs23' ]; then + curl -Os https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el && + export EMACSLOADPATH=$(emacs -batch -eval "(princ (mapconcat 'identity load-path \":\"))") && + export EMACSLOADPATH="$EMACSLOADPATH:$PWD"; + fi + +script: + - ./run_rust_emacs_tests.sh + +notifications: + email: false |
