Update .travis.yml, use Emacs from latest Ubuntu

This commit is contained in:
duianto 2019-10-31 07:10:43 +01:00
parent f6cdec168e
commit 7c572fccdc
2 changed files with 6 additions and 15 deletions

View File

@ -2,7 +2,12 @@
# TravisCI YAML file
language: generic
sudo: required
dist: trusty
addons:
apt:
packages:
- ca-certificates
- gnutls-bin
- emacs
services:
- docker
branches:
@ -10,15 +15,11 @@ branches:
- master
- develop
env:
matrix:
- EVM_EMACS=emacs-26.1-travis
global:
- secure: "M8NF1Uw7VGkLdNmWiUF4T+VOJXwN8KCKVQb45/BWVpGm88Rcfom/9bxRTUme8VYuzIavph32QF+P9KyhX8aj2p2FMItNnxiEySzap5UrLrNiwB6ZxbQglMJj0yMQKASynNBai9KKI7mYlsM5jRpFJ9OSgj7Ko00RIFpO3EpJ+kE="
- BOT_NAME=emacspace
- BOT_EMAIL=emacspace@gmail.com
- SPACEMACS_REPO_SLUG="syl20bnr/spacemacs"
before_install:
- sudo apt-get install -y libgnutls26
before_script:
- docker pull jare/spacetools:latest
script:

View File

@ -41,16 +41,6 @@ cd ~/.emacs.d
cp ./.travisci/.spacemacs ~/
ln -sf ~/.emacs.d "${TRAVIS_BUILD_DIR}"
fold_start "INSTALLING_${EVM_EMACS}"
curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw \
> /tmp/x.sh && source /tmp/x.sh
evm install $EVM_EMACS --use --skip
if [ $? -ne 0 ]; then
echo "Installation failed"
exit 2
fi
fold_end "INSTALLING_${EVM_EMACS}"
fold_start "INSTALLING_DEPENDENCIES"
emacs -batch -l init.el
if [ $? -ne 0 ]; then