Update .travis.yml, use Emacs from latest Ubuntu
This commit is contained in:
parent
f6cdec168e
commit
7c572fccdc
11
.travis.yml
11
.travis.yml
|
@ -2,7 +2,12 @@
|
||||||
# TravisCI YAML file
|
# TravisCI YAML file
|
||||||
language: generic
|
language: generic
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- ca-certificates
|
||||||
|
- gnutls-bin
|
||||||
|
- emacs
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
branches:
|
branches:
|
||||||
|
@ -10,15 +15,11 @@ branches:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
env:
|
env:
|
||||||
matrix:
|
|
||||||
- EVM_EMACS=emacs-26.1-travis
|
|
||||||
global:
|
global:
|
||||||
- secure: "M8NF1Uw7VGkLdNmWiUF4T+VOJXwN8KCKVQb45/BWVpGm88Rcfom/9bxRTUme8VYuzIavph32QF+P9KyhX8aj2p2FMItNnxiEySzap5UrLrNiwB6ZxbQglMJj0yMQKASynNBai9KKI7mYlsM5jRpFJ9OSgj7Ko00RIFpO3EpJ+kE="
|
- secure: "M8NF1Uw7VGkLdNmWiUF4T+VOJXwN8KCKVQb45/BWVpGm88Rcfom/9bxRTUme8VYuzIavph32QF+P9KyhX8aj2p2FMItNnxiEySzap5UrLrNiwB6ZxbQglMJj0yMQKASynNBai9KKI7mYlsM5jRpFJ9OSgj7Ko00RIFpO3EpJ+kE="
|
||||||
- BOT_NAME=emacspace
|
- BOT_NAME=emacspace
|
||||||
- BOT_EMAIL=emacspace@gmail.com
|
- BOT_EMAIL=emacspace@gmail.com
|
||||||
- SPACEMACS_REPO_SLUG="syl20bnr/spacemacs"
|
- SPACEMACS_REPO_SLUG="syl20bnr/spacemacs"
|
||||||
before_install:
|
|
||||||
- sudo apt-get install -y libgnutls26
|
|
||||||
before_script:
|
before_script:
|
||||||
- docker pull jare/spacetools:latest
|
- docker pull jare/spacetools:latest
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -41,16 +41,6 @@ cd ~/.emacs.d
|
||||||
cp ./.travisci/.spacemacs ~/
|
cp ./.travisci/.spacemacs ~/
|
||||||
ln -sf ~/.emacs.d "${TRAVIS_BUILD_DIR}"
|
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"
|
fold_start "INSTALLING_DEPENDENCIES"
|
||||||
emacs -batch -l init.el
|
emacs -batch -l init.el
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue