Skip to content
Permalink
Browse files

Updated CI scripts.

  • Loading branch information...
f1ames authored and Comandeer committed Sep 11, 2019
1 parent f7e849b commit 124952647ec6d911010022d21315a1df97e55656
Showing with 8 additions and 8 deletions.
  1. +7 −7 dev/travis/build.sh
  2. +1 −1 dev/travis/buildpath.sh
@@ -6,15 +6,15 @@

BRANCH=$1

# Clone and setup ckeditor-presets repository.
# Clone and setup ckeditor4-presets repository.
cd ..
git clone https://github.com/ckeditor/ckeditor-presets.git
cd ckeditor-presets
git clone https://github.com/ckeditor/ckeditor4-presets.git
cd ckeditor4-presets
git fetch --all
git checkout $BRANCH
git reset --hard origin/$BRANCH

# Remove ckeditor-dev submodule as the local one will be used.
# Remove ckeditor4 submodule as the local one will be used.
git submodule deinit ckeditor
git rm ckeditor

@@ -25,13 +25,13 @@ sed -i "s/com:/com\//g" .gitmodules
# Init submodules.
git submodule update --init

# Link to ckeditor-dev repository which triggered the build.
# Link to ckeditor4 repository which triggered the build.
rm -rf ckeditor
ln -s ../ckeditor-dev/ ckeditor
ln -s ../ckeditor4/ ckeditor

# Build full preset.
./build.sh full all -t
cd "./build/$(ls -1t ./build/ | head -n 1)/full-all/ckeditor/"

# Copy bender.ci.js file as it is removed during build.
cp ../../../../../ckeditor-dev/bender.ci.js bender.ci.js
cp ../../../../../ckeditor4/bender.ci.js bender.ci.js
@@ -4,4 +4,4 @@

# Return CKEditor build path.

echo "../ckeditor-presets/build/$(ls -1t ../ckeditor-presets/build/ | head -n 1)/full-all/ckeditor/"
echo "../ckeditor4-presets/build/$(ls -1t ../ckeditor4-presets/build/ | head -n 1)/full-all/ckeditor/"

0 comments on commit 1249526

Please sign in to comment.
You can’t perform that action at this time.