Permalink
Browse files

Travis file cleanup.

  • Loading branch information...
1 parent c7b8689 commit 5c99dcfcdc3e9e7339e79dc73402cc40d68cab5c @f1ames f1ames committed with Comandeer Dec 20, 2016
Showing with 8 additions and 9 deletions.
  1. +8 −8 .travis.yml
  2. +0 −1 bender.ci.js
View
@@ -1,13 +1,6 @@
sudo: required
dist: trusty
-addons:
- apt:
- sources:
- - google-chrome
- packages:
- - google-chrome-stable
-
language: node_js
matrix:
@@ -21,23 +14,30 @@ matrix:
before_script:
- 'npm install benderjs-cli -g'
+ # Clone and setup ckeditor-presets repository.
- 'if [ "$BUILD" = "1" ]; then cd ..; fi'
- 'if [ "$BUILD" = "1" ]; then git clone https://github.com/ckeditor/ckeditor-presets.git; fi'
- 'if [ "$BUILD" = "1" ]; then cd ckeditor-presets; fi'
- 'if [ "$BUILD" = "1" ]; then git fetch --all; fi'
- 'if [ "$BUILD" = "1" ]; then git checkout master; fi'
- 'if [ "$BUILD" = "1" ]; then git reset --hard origin/master; fi'
+
+ # Update submodules to use HTTPS instead of SSH.
- 'if [ "$BUILD" = "1" ]; then sed -i -e "s/git\@/https:\/\//g" .gitmodules; fi'
- 'if [ "$BUILD" = "1" ]; then sed -i -e "s/com:/com\//g" .gitmodules; fi'
+
+ # Update submodules.
- 'if [ "$BUILD" = "1" ]; then git submodule update --init; fi'
+ # Link to ckeditor-dev repository which triggered the build.
- 'if [ "$BUILD" = "1" ]; then rm -rf ckeditor; fi'
- 'if [ "$BUILD" = "1" ]; then ln -s ../ckeditor-dev/ ckeditor; fi'
+ # Build full preset.
- 'if [ "$BUILD" = "1" ]; then ./build.sh full all -t; fi'
- 'if [ "$BUILD" = "1" ]; then cd "./build/$(ls -1t ./build/ | head -n 1)/full-all/ckeditor/"; fi'
- 'sh -e /etc/init.d/xvfb start'
- 'export DISPLAY=:99.0'
-script: bender run -c bender.ci.js
+script: 'bender run -c bender.ci.js'
View
@@ -3,7 +3,6 @@
'use strict';
var config = require( './bender' );
-config.manualBrowsers = [ 'Firefox' ];
config.startBrowser = 'Chrome';
config.mathJaxLibPath = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML';

0 comments on commit 5c99dcf

Please sign in to comment.