Skip to content

Commit

Permalink
Move to using xenial on travis (niosus#605)
Browse files Browse the repository at this point in the history
* Use xenial for build
* Simplify build script
  • Loading branch information
niosus authored May 13, 2019
1 parent d5ceffc commit b0ef457
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
env:
global:
# Your package name
- PACKAGE="EasyClangComplete"
- SUBLIME_TEXT_VERSION="3" PCINSTALL=true
- SUBLIME_TEXT_VERSION="3"

sudo: false
language: python
Expand All @@ -11,18 +10,18 @@ python: "3.6"
matrix:
include:
- os: linux
dist: xenial
env: DISTRO="Ubuntu"
sudo: required
services:
- xvfb
- os: osx
env: DISTRO="OSX"
language: generic

before_install:
- curl -OL https://raw.githubusercontent.com/randy3k/UnitTesting/master/sbin/travis.sh
# enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
pip install --upgrade pip pycodestyle pep257;
pip install --upgrade coverage codacy-coverage;
pip install --upgrade mkdocs==1.0.4 mkdocs-material;
Expand All @@ -32,7 +31,7 @@ before_install:

install:
- sh travis.sh bootstrap
- if [ "$PCINSTALL" == true ]; then sh travis.sh install_package_control; fi
- sh travis.sh install_package_control

script:
- ls
Expand Down

0 comments on commit b0ef457

Please sign in to comment.