aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-10-21 11:55:32 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2016-10-21 11:55:32 +0200
commited87ba72282a8e5c2cd3f5631748726c930809bd (patch)
tree7630ffdce6bcf1fdcda49ca04b3dc890e52d18ee /.travis.yml
parente46f1d3dea4f7cda296628b81b174f6ed7a42032 (diff)
downloaddotfiles-ed87ba72282a8e5c2cd3f5631748726c930809bd.tar.gz
dotfiles-ed87ba72282a8e5c2cd3f5631748726c930809bd.zip
emacs: trying to test it with travis
Files and idea taken from https://github.com/purcell/emacs.d. I've also added the bin/test directory into it. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..75eaadc
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,30 @@
+# The procedure for testing GNU Emacs was kindly taken from:
+# https://github.com/purcell/emacs.d
+
+language: ruby
+
+before_install:
+ - git clone https://github.com/rejeep/evm.git $HOME/.evm
+ - export PATH=$HOME/.evm/bin:$PATH
+
+ - evm config path /tmp
+ - evm install $EVM_EMACS --use --skip
+
+env:
+ - EVM_EMACS=emacs-24.4-travis
+ - EVM_EMACS=emacs-24.5-travis
+ - EVM_EMACS=emacs-25.1-travis
+ - EVM_EMACS=emacs-git-snapshot-travis
+
+matrix:
+ allow_failures:
+ - env: EVM_EMACS=emacs-git-snapshot-travis
+
+script:
+ # Testing GNU Emacs
+ - git clone https://github.com/mssola/soria.git
+ - cp soria/soria-theme.el emacs/soria-theme.el
+ - lsb_release -a && cd emacs && ./test-startup.sh
+
+ # Testing scripts
+ - cd ../bin/test && ./test.sh