Compare commits

...

52 Commits

Author SHA1 Message Date
Georges Dupéron
1419620d68 Fixed typo 2017-05-02 16:52:53 +02:00
Georges Dupéron
8bdc1999fa Allow builds of v2.7.1-racket-mini-source branch 2017-05-02 16:01:43 +02:00
Georges Dupéron
2287de322d make the openssl line easier to substitue (move the decrypted file to its destination after the command, not as part of it) 2017-03-22 00:23:27 +01:00
Georges Dupéron
0585c0b74a Fix script 2017-03-21 01:46:34 +01:00
Georges Dupéron
0d6a3a49dd Fix script 2017-03-21 01:42:22 +01:00
Georges Dupéron
9fb852d1ef Fix script 2017-03-21 01:38:18 +01:00
Georges Dupéron
6f8805033c Fix script 2017-03-21 01:35:52 +01:00
Georges Dupéron
9bb1d81212 Fix script 2017-03-20 20:13:56 +01:00
Georges Dupéron
a555db20c9 Fix script 2017-03-20 20:12:46 +01:00
Georges Dupéron
73a45ea0ec Fix script 2017-03-20 20:07:08 +01:00
Georges Dupéron
0b9355a7d1 Fixed script 2017-03-20 20:01:02 +01:00
Georges Dupéron
ec4623a80f Fixed script. 2017-03-20 19:38:24 +01:00
Georges Dupéron
062820300a Fixed issues with deploy script 2017-03-20 18:59:02 +01:00
Georges Dupéron
7e0a9e441e Fixed issues with deploy script 2017-03-20 18:58:07 +01:00
Georges Dupéron
f0b14cecf3 Fixed auto-deploy script 2017-03-20 18:16:59 +01:00
Georges Dupéron
655648db7f Fixed auto-deploy script 2017-03-20 18:10:14 +01:00
Georges Dupéron
ebf429472f Use deploy key instead of secret token. 2017-03-20 18:04:02 +01:00
Georges Dupéron
8f56ffa76c Remove files in the right order so that .gitignore is taken into account 2016-08-08 02:08:50 +02:00
Georges Dupéron
745f99f219 Forgot comma 2016-08-08 02:03:53 +02:00
Georges Dupéron
c822826836 npm was wrong, the extra packages were NOT extraneous. Added them back to .travis.yml 2016-08-08 01:59:29 +02:00
Georges Dupéron
e011a62960 Removed extra files, simplified npm install command 2016-08-08 01:56:11 +02:00
Georges Dupéron
fe7bce53af travis test 2016-08-08 01:51:55 +02:00
Georges Dupéron
91c1cf63b8 travis test 2016-08-08 01:47:29 +02:00
Georges Dupéron
7ae9962028 travis test 2016-08-08 01:45:26 +02:00
Georges Dupéron
621bfa5c68 travis test 2016-08-08 01:42:23 +02:00
Georges Dupéron
4cc4d13be8 Fixed GH token 2016-08-08 01:37:36 +02:00
Georges Dupéron
3fa882906f travis test 2016-08-08 01:18:07 +02:00
Georges Dupéron
2be5e99d92 travis test 2016-08-08 01:14:48 +02:00
Georges Dupéron
673d907988 travis test 2016-08-08 01:12:15 +02:00
Georges Dupéron
68b5d75dc5 Made .travis.yml remove unwanted MathJax components. 2016-08-08 01:09:09 +02:00
Georges Dupéron
6b0ce952f9 Included AMS extensions in default config for Racket. 2016-08-08 00:43:42 +02:00
Georges Dupéron
6e42bb8f2d Adjusted Gruntfile.js to generate a mini MathJax for Racket 2016-08-08 00:41:29 +02:00
Georges Dupéron
f7d426c155 Merge branch 'MathJax-grunt-cleaner' into v2.6-latest 2016-08-08 00:40:17 +02:00
Peter Krautzberger
8b7f3d5959 Merge pull request #9 from brianboyko/brianboyko-patch-1
Add missing comma
2016-02-17 09:24:33 +01:00
Brian Boyko
1f34ae1858 Bugfix - missing comma
Replaced missing comma in line 232.
2016-02-16 11:37:55 -06:00
Peter Krautzberger
96955f5ce2 Merge pull request #8 from mathjax/v2.6
update for MathJax v2.6.0
2016-02-15 20:42:46 +01:00
Peter Krautzberger
91cf225965 update for MathJax v2.6.0 2016-01-27 17:33:42 +01:00
Peter Krautzberger
5fbf0b2531 update for MathJax v2.6.0 2016-01-27 17:29:21 +01:00
Peter Krautzberger
98ea9c5c26 Merge pull request #5 from minrk/component
add component task
2015-08-03 10:53:41 +02:00
Min RK
85cdc0c13e add component task
- removes png image fonts
- disables imageFont in HTML-CSS config
2015-07-29 21:45:39 -07:00
Min RK
48322fc7e5 add grunt-regex-replace 2015-07-29 21:13:51 -07:00
Min RK
eec24e97fe add node_modules to .gitignore 2015-07-29 21:12:23 -07:00
Peter Krautzberger
a02ed2e604 Update package name 2015-07-24 10:40:51 +02:00
Peter Krautzberger
08932e468f fix linting errors
* add strict mode
* fix trailing commas
2015-07-24 10:39:25 +02:00
Peter Krautzberger
1350d174f6 Merge pull request #4 from errantmind/master
fix: mathmlInput removing TeX folders instead of MathML
2015-07-24 10:03:01 +02:00
James Bates
5173fc16bb fix mathmlInput removing TeX folders instead of MathML 2015-07-24 00:05:17 -05:00
Peter Krautzberger
31da784b6f Merge pull request #1 from mathjax/mj-node
update for MathJax v2.5 release, fixes #3
2015-06-30 21:43:13 +02:00
Peter Krautzberger
17c275cc15 update for MathJax v2.5 release 2015-02-07 18:33:10 +01:00
Peter Krautzberger
8291a7cfe4 added template for mathjax-node 2014-10-16 21:37:16 +02:00
Peter Krautzberger
d41e74cfcd minor fixes for readme 2014-09-29 23:00:54 +02:00
Peter Krautzberger
f805e67beb add license and readme 2014-09-29 22:49:57 +02:00
Peter Krautzberger
07cd282feb first commit 2014-09-29 22:42:20 +02:00
6 changed files with 504 additions and 13 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ config/local/*.js
!config/local/local.js
unpacked/config/local/*.js
!unpacked/config/local/local.js
node_modules

View File

@ -1,18 +1,14 @@
language: node_js
node_js:
- '5'
- '5'
sudo: false
env:
global:
- secure: kPOwvkCDLpwJneCPeKUxbEZSsPWPpOpIK2wKf5Fm2BqJlUm+Wm8g5GZy1WHjo/IdNyb5mDIJzxWcr/uYDykehkNR1tRVrzUfRCVWqOFXGeI5P9e0zBaXp/GW3kfKivWNhpec8WSu9ZPjQhsRfDCjKRCHAB3JzwDWF8Kfl9UeBicFXQVRo+9zo3okRLsuJsEP/0MEtN0GxdsfKDleSW28AZLxu7raoJHHFY1t3QxMoYDd5312Pz7smv1/l4RG/P6XZZrtWEeVwctrNbU0CBO8tX8nqUCHA0bWyOW+crf4/NZZGg9e1RUq8eDbVUd7iGq81nr0+F7IvvwbvSLmpU2/b9hbcF4i4MpIE1Yy/0+zUhuTj1Yy8tw/irc8Y6Nc/g25BJBSCrfdPQnnbAESUv2ywbHC8vBztLca1xBQbQ+q0N0YYUK/mgxUiOznwTQ3PRIs/SENSdhFufT9pCRBp+lvkY+DVHSt6ogPYdRmyF/KPdcDWu5GqKrUs4KyroAzMLX/brw9+TjASnjTipnUWSlTQpoXjf1aQQuescqZMAbxEZH5ed6YvyPehdDqB8bpkeZ9OUkP8pV1kndSnnUsDH7Kn7ZyYUI20FNsU8Yqp1v94jOfrz2np2N9mJUT3teDy8k4yIxTERYSfbBcn4X30YX8fwRk/8skHRtgU4VOpUnIjkw=
script:
- npm install
- npm test
- cp travis-auto-deploy.sh ~/travis-auto-deploy.sh
- sh ~/travis-auto-deploy.sh
branches:
only:
- master
- /^\d+\.\d+/
deploy:
provider: npm
email: manager@mathjax.org
api_key:
secure: q7e4haV9hAHng28w6EBnOc6ptorxjxeATW6ZocYiPk68To3IUHMt615rzyotfA5TBCcPJyeUJiqNcuUXbh+r8HmER4bJsjaGMpETPSkdvzQ1bYg2EJEvT6V/xc+sRGoj5ri/F2uH99AYnF99IugjeWvjpp5F5z370fJIMiUmXX8=
on:
tags: true
- v2.6-racket-mini-source
- v2.7.1-racket-mini-source

445
Gruntfile.js Normal file
View File

@ -0,0 +1,445 @@
/*
MathJax-grunt-cleaner
=====================
A grunt file to reduce the footprint of a MathJax installation
Latest version at https://github.com/pkra/MathJax-grunt-cleaner
Copyright (c) 2014 Mathjax Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
module.exports = function(grunt) {
"use strict";
// # Notes #
// NEVER remove:
//
// * LICENSE -- the Apache license.
// * jax/element/mml -- this implements MathJax"s internal format. Keep either the packed or unpacked copy.
//
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
clean: {
//
// ## Early choices
// `unpacked` for development
// ``packed` for production
unpacked: [
"unpacked"
],
packed: [
"config",
"docs",
"extensions",
"jax",
"localization",
"MathJax.js"
],
// If you don"t need combined configuration files or want to build your own:
allConfigs: [
"config",
"unpacked/config"
],
//
// ## Choosing a font
// See http://docs.mathjax.org/en/latest/font-support.html#font-configuration for background information
//
// 1. Remove font files and font data for fonts you won"t use.
// **IMPORTANT.** Make sure to prevent fallbacks and local fonts in your configuration!
//
//
fontAsana: [
"fonts/HTML-CSS/Asana-Math",
"jax/output/HTML-CSS/fonts/Asana-Math",
"unpacked/jax/output/HTML-CSS/fonts/Asana-Math",
"jax/output/SVG/fonts/Asana-Math",
"unpacked/jax/output/SVG/fonts/Asana-Math"
],
fontGyrePagella: [
"fonts/HTML-CSS/Gyre-Pagella",
"jax/output/HTML-CSS/fonts/Gyre-Pagella",
"unpacked/jax/output/HTML-CSS/fonts/Gyre-Pagella",
"jax/output/SVG/fonts/Gyre-Pagella",
"unpacked/jax/output/SVG/fonts/Gyre-Pagella"
],
fontGyreTermes: [
"fonts/HTML-CSS/Gyre-Termes",
"jax/output/HTML-CSS/fonts/Gyre-Termes",
"unpacked/jax/output/HTML-CSS/fonts/Gyre-Termes",
"jax/output/SVG/fonts/Gyre-Termes",
"unpacked/jax/output/SVG/fonts/Gyre-Termes"
],
fontLatinModern: [
"fonts/HTML-CSS/Latin-Modern",
"jax/output/HTML-CSS/fonts/Latin-Modern",
"unpacked/jax/output/HTML-CSS/fonts/Latin-Modern",
"jax/output/SVG/fonts/Latin-Modern",
"unpacked/jax/output/SVG/fonts/Latin-Modern"
],
fontNeoEuler: [
"fonts/HTML-CSS/Neo-Euler",
"jax/output/HTML-CSS/fonts/Neo-Euler",
"unpacked/jax/output/HTML-CSS/fonts/Neo-Euler",
"jax/output/SVG/fonts/Neo-Euler",
"unpacked/jax/output/SVG/fonts/Neo-Euler"
],
fontStix: [
"fonts/HTML-CSS/STIX",
"jax/output/HTML-CSS/fonts/STIX",
"unpacked/jax/output/HTML-CSS/fonts/STIX",
"jax/output/SVG/fonts/STIX",
"unpacked/jax/output/SVG/fonts/STIX"
],
fontStixWeb: [
"fonts/HTML-CSS/STIX-Web",
"jax/output/HTML-CSS/fonts/STIX-Web",
"unpacked/jax/output/HTML-CSS/fonts/STIX-Web",
"jax/output/SVG/fonts/STIX-Web",
"unpacked/jax/output/SVG/fonts/STIX-Web"
],
fontTeX: [
"fonts/HTML-CSS/TeX",
"jax/output/HTML-CSS/fonts/TeX",
"unpacked/jax/output/HTML-CSS/fonts/TeX",
"jax/output/SVG/fonts/TeX",
"unpacked/jax/output/SVG/fonts/TeX"
],
//
// Remove font formats
// If you know you only need a specific format of your remaining fonts (e.g., woff), then you can delete the others.
dropFonts: [ // if you use SVG output, you can drop all font formats (SVG output uses the data in `jax/output/SVG/fonts/...`)
"fonts"
],
eot: [
"fonts/**/eot"
],
otf: [
"fonts/**/otf"
],
png: [
"fonts/**/png"
],
svg: [ // **NOT** related to the SVG output!
"fonts/**/svg"
],
woff: [
"fonts/**/woff"
],
// ## Choose the input
// Remove input that you don"t need.
// **Note.** This includes combined configuration files.
asciimathInput: [
"config/AM*",
"config/TeX-MML-AM*",
"jax/input/AsciiMath",
"unpacked/config/AM*",
"unpacked/config/TeX-MML-AM*",
"unpacked/jax/input/AsciiMath"
],
mathmlInput: [
"config/MML*",
"config/TeX-MML*",
"config/TeX-AMS-MML*",
"jax/input/MathML",
"unpacked/config/MathML*",
"unpacked/jax/input/MathML"
],
texInput: [
"config/TeX*",
"jax/input/TeX",
"unpacked/config/TeX*",
"unpacked/jax/input/TeX"
],
// ## Extensions
extensionsAsciimath: [
"extensions/asciimath2jax.js",
"unpacked/extensions/asciimath2jax.js"
],
extensionsMathml: [
"extensions/MathML",
"extensions/mml2jax.js",
"unpacked/extensions/MathML",
"unpacked/extensions/mml2jax.js"
],
extensionsTeX: [
"extensions/TeX",
"extensions/jsMath2jax.js",
"extensions/tex2jax.js",
"unpacked/extensions/TeX",
"unpacked/extensions/jsMath2jax.js",
"unpacked/extensions/tex2jax.js"
],
extensionHtmlCss: [
"extensions/HTML-CSS",
"unpacked/extensions/HTML-CSS"
],
// ## Choose Output
htmlCssOutput: [
"config/*HTMLorMML.js",
"config/*HTMLorMML-full.js",
"unpacked/config/*HTMLorMML.js",
"unpacked/config/*HTMLorMML-full.js",
"jax/output/HTML-CSS",
"unpacked/jax/output/HTML-CSS"
],
mathmlOutput: [
"config/*HTMLorMML.js",
"config/*HTMLorMML-full.js",
"unpacked/config/*HTMLorMML.js",
"unpacked/config/*HTMLorMML-full.js",
"jax/output/NativeMML",
"unpacked/jax/output/NativeMML"
],
svgOutput: [
"config/*SVG.js",
"config/*SVG-full.js",
"unpacked/config/*SVG.js",
"unpacked/config/*SVG-full.js",
"jax/output/SVG",
"unpacked/jax/output/SVG"
],
commonHtmlOutput: [
"configs/*CHTML.js",
"configs/*CHTML-full.js",
"unpacked/config/*CHTML.js",
"unpacked/configs/*CHTML-full.js",
"jax/output/CommonHTML",
"unpacked/jax/output/CommonHTML",
"extensions/CHTML-preview.js",
"unpacked/extensions/CHTML-preview.js"
],
previewHtmlOutput: [
"jax/output/PreviewHTML",
"unpacked/jax/output/PreviewHTML",
"extensions/fast-preview.js",
"unpacked/extensions/fast-preview.js",
"extensions/CHTML-preview.js",
"unpacked/extensions/CHTML-preview.js"
],
plainSourceOutput: [
"jax/output/PlainSource",
"unpacked/jax/output/PlainSource"
],
// ## Locales
// Removes all locale files. Change this as needed to keep your preferred language.
// **NOTE.** English strings are hardcoded.
// **NOTE.** If you fix the locale, drop the menu entry: http://docs.mathjax.org/en/latest/options/MathMenu.html#configure-mathmenu
locales: [
"localization",
"unpacked/localization"
],
// ## Misc.
miscConfig: [
"config/local",
"unpacked/config/local",
"config/Accessible-full.js",
"unpacked/config/Accessible-full.js",
"config/Accessible.js",
"unpacked/config/Accessible.js",
//"config/default.js",
//"unpacked/config/default.js",
"config/Safe.js",
"unpacked/config/Safe.js"
],
fullConfig: [
"config/*-full.js"
],
restConfig: [
"config/AM_CHTML.js",
"config/AM_HTMLorMML.js",
"config/AM_SVG.js",
//"config/default.js",
"config/MML_CHTML.js",
"config/MML_HTMLorMML.js",
"config/MMLorHTML.js",
"config/MML_SVG.js",
"config/TeX-AMS_CHTML.js",
"config/TeX-AMS_HTML.js",
"config/TeX-AMS-MML_HTMLorMML.js",
"config/TeX-AMS-MML_SVG.js",
"config/TeX-AMS_SVG.js",
"config/TeX-MML-AM_CHTML.js",
"config/TeX-MML-AM_HTMLorMML.js",
"config/TeX-MML-AM_SVG.js"
],
a11yExtensions: [
"extensions/AssistiveMML.js",
"unpacked/extensions/AssistiveMML.js"
],
miscExtensions: [
"extensions/FontWarnings.js",
"extensions/HelpDialog.js",
"extensions/MatchWebFonts.js",
"extensions/MathEvents.js",
"extensions/MathMenu.js",
"extensions/MathZoom.js",
"extensions/Safe.js",
"extensions/CHTML-preview.js",
// "extensions/toMathML.js", // only remove `toMathML.js` if you know exactly what you are doing.
"unpacked/extensions/FontWarnings.js",
"unpacked/extensions/HelpDialog.js",
"unpacked/extensions/MatchWebFonts.js",
"unpacked/extensions/MathEvents.js",
"unpacked/extensions/MathMenu.js",
"unpacked/extensions/MathZoom.js",
"unpacked/extensions/Safe.js",
"unpacked/extensions/CHTML-preview.js"
// "unpacked/extensions/toMathML.js", // only remove `toMathML.js` if you know exactly what you are doing.
],
images: [
"images" // these are used in the menu. Removing them will give you 404 errors but nothing will break.
],
notcode: [
//".gitignore",
"docs",
"test",
"CONTRIBUTING.md",
"README-branch.txt",
"README.md",
"bower.json",
"composer.json",
".npmignore",
"package.json",
".travis.yml"
]
},
"regex-replace": {
// disable image fonts in default HTML-CSS config
noImageFont: {
src: ['unpacked/jax/output/HTML-CSS/config.js',
'config/default.js'],
actions: [
{
name: 'nullImageFont',
search: /imageFont:[^,]+,/,
replace: 'imageFont: null,',
}
]
}
}
});
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks('grunt-regex-replace');
grunt.registerTask("component", [
// components-mathjax excludes only PNG fonts
"regex-replace:noImageFont",
"clean:png",
]);
grunt.registerTask("template", [
// **Notes** on the template. When instructions say "Pick one", this means commenting out one item (so that it"s not cleaned).
//
// Early choices.
"clean:unpacked",
"clean:packed", // pick one -- packed for production, unpacked for development.
"clean:allConfigs", // if you do not need any combined configuration files.
// Fonts. Pick at least one! Check notes above on configurations.
"clean:fontAsana",
"clean:fontGyrePagella",
"clean:fontGyreTermes",
"clean:fontLatinModern",
"clean:fontNeoEuler",
"clean:fontStix",
"clean:fontStixWeb",
"clean:fontTeX",
// Font formats. Pick at least one (unless you use SVG output; then clean all).
"clean:dropFonts", // when using SVG output
"clean:eot",
"clean:otf",
"clean:png",
"regex-replace:noImageFont",
"clean:svg",
"clean:woff",
// Input. Pick at least one.
"clean:asciimathInput",
"clean:mathmlInput",
"clean:texInput",
// Output
"clean:htmlCssOutput",
"clean:mathmlOutput",
"clean:svgOutput",
// Extensions. You probably want to leave the set matching your choices.
"clean:extensionsAsciimath",
"clean:extensionsMathml",
"clean:extensionsTeX",
"clean:extensionHtmlCss",
// Other items
"clean:locales",
"clean:miscConfig",
// "clean:miscExtensions", // you probably want that
"clean:images",
"clean:notcode"
]);
grunt.registerTask("racket-mini", [
// Early choices.
"clean:unpacked",
// "clean:packed", // pick one -- packed for production, unpacked for development.
//"clean:allConfigs", // if you do not need any combined configuration files.
// Fonts. Pick at least one! Check notes above on configurations.
"clean:fontAsana",
"clean:fontGyrePagella",
"clean:fontGyreTermes",
"clean:fontLatinModern",
"clean:fontNeoEuler",
"clean:fontStix",
//"clean:fontStixWeb",
// "clean:fontTeX",
// Font formats. Pick at least one (unless you use SVG output; then clean all).
//"clean:dropFonts", // when using SVG output
"clean:eot",
"clean:otf",
"clean:png",
//"clean:svg",
//"clean:woff",
// Input. Pick at least one.
//"clean:asciimathInput",
//"clean:mathmlInput",
//"clean:texInput",
// Output
//"clean:htmlCssOutput",
//"clean:mathmlOutput",
// "clean:svgOutput",
// Extensions. You probably want to leave the set matching your choices.
//"clean:extensionsAsciimath",
//"clean:extensionsMathml",
//"clean:extensionsTeX",
//"clean:extensionHtmlCss",
// Other items
// "clean:locales",
"clean:miscConfig",
"clean:fullConfig",
"clean:restConfig",
// "clean:miscExtensions", // you probably want that
//"clean:images",
"clean:notcode"
]);
grunt.registerTask("mjNode", [
"clean:packed",
"clean:allConfigs",
"clean:dropFonts",
"clean:htmlCssOutput",
"clean:locales",
"clean:miscConfig",
"clean:images",
"clean:notcode",
"clean:miscExtensions"
]);
};

View File

@ -101,7 +101,7 @@ MathJax.Hub.Config({
// jax array above, and "asciimath2jax.js" if you using "input/AsciiMath".
// Include "jsmath2jax.js" if you are converting from using jsMath to MathJax.
//
extensions: ["tex2jax.js"],
extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
//
// Patterns to remove from before and after math script tags. If you are not

49
travis-auto-deploy.sh Normal file
View File

@ -0,0 +1,49 @@
#!/bin/sh
set -e
set +x
if test "$(git config remote.origin.url)" != "https://github.com/jsmaniac/scribble-mathjax.git"; then
echo "Not on official repo, will not deploy gh-pages."
elif test "$TRAVIS_PULL_REQUEST" != "false"; then
echo "This is a Pull Request, will not deploy gh-pages."
elif test "$TRAVIS_BRANCH" != "v2.6-racket-mini-source"; then
echo "Not on v2.6-racket-mini-source branch (TRAVIS_BRANCH = $TRAVIS_BRANCH), will not deploy gh-pages."
elif test -z "${encrypted_675a73236f08_key:-}" -o -z "${encrypted_675a73236f08_iv:-}"; then
echo "Travis CI secure environment variables are unavailable, will not deploy gh-pages."
else
set -x
echo "Automatic push to gh-pages"
ls -l /home/travis/build/jsmaniac/scribble-mathjax/.git/index.lock || true
# Git configuration:
git config --global user.name "$(git log --format="%aN" HEAD -1) (Travis CI automatic commit)"
git config --global user.email "$(git log --format="%aE" HEAD -1)"
# SSH configuration
mkdir -p ~/.ssh
chmod 700 ~/.ssh
set +x
if openssl aes-256-cbc -K $encrypted_675a73236f08_key -iv $encrypted_675a73236f08_iv -in travis-deploy-key-id_rsa.enc -out travis-deploy-key-id_rsa -d >/dev/null 2>&1; then
echo "Dectypred key successfully."
else
echo "Error while decrypting key."
fi
mv travis-deploy-key-id_rsa ~/.ssh/travis-deploy-key-id_rsa
set -x
chmod 600 ~/.ssh/travis-deploy-key-id_rsa
set +x
eval `ssh-agent -s`
set -x
ssh-add ~/.ssh/travis-deploy-key-id_rsa
npm install grunt grunt-cli grunt-contrib-clean grunt-regex-replace
PATH="$PWD/node_modules/grunt-cli/bin:$PATH" grunt racket-mini
git add -A . >/dev/null 2>&1
git rm -f .gitignore || true
git rm -f Gruntfile.js || true
git rm -f travis-deploy-key-id_rsa.enc || true
git rm -f travis-auto-deploy.sh || true
git commit -m "auto-commit" >/dev/null 2>&1
git log --oneline --decorate --graph -10
git push --force --quiet "git@github.com:jsmaniac/scribble-mathjax.git" HEAD:refs/heads/v2.6-racket-mini > /dev/null 2>&1
fi

Binary file not shown.