Commit 39500fff authored by carlosperate's avatar carlosperate

Update CI server scripts to build documentation.

parent 7afc4a81
......@@ -20,7 +20,7 @@ init:
- cmd: python -c "import struct; print(struct.calcsize('P') * 8)"
# Ensure node x86 (appveyor powershell script to switch installed versions)
- ps: Install-Product node 0.12.7 x86
- ps: Install-Product node 5.1.0 x86
- cmd: node --version
- cmd: npm --version
......@@ -35,13 +35,15 @@ install:
# Install python dependencies
- cmd: pip install https://dl.dropboxusercontent.com/u/74034/ardublockly-dep/win/py2exe-0.6.10a1-cp27-none-win32.whl
- cmd: pip install mock
- cmd: pip install mkdocs
# Build Ardublockly
- cmd: python package\build_docs.py
- cmd: python package\build_py2exe.py
- cmd: cd package\electron
- cmd: npm install
- cmd: npm run release
- cmd: cd ..\..
- cmd: cd ..\..\
- cmd: python package\pack_ardublockly.py
- cmd: dir
......
......@@ -9,7 +9,7 @@ before_install:
# Install python
- brew update
- brew install python
- brew install python2
- brew link --overwrite python
- pip install --upgrade pip
- PATH=/usr/local/bin:$PATH
......@@ -20,6 +20,7 @@ before_install:
- brew install libcouchbase
- pip install mock
- pip install mkdocs
# Install node.js
- brew unlink node
......@@ -29,14 +30,12 @@ before_install:
# Build and Pack ardublockly
install:
#- cd package/pyinstaller/bootloader
#- python ./waf configure build install
#- cd ../../../
- python package/build_docs.py
- python package/build_pyinstaller.py mac
- cd package/electron
- npm install
- npm run release
- cd ../..
- cd ../../
- python package/pack_ardublockly.py
- du -sk releases/
......@@ -58,7 +57,7 @@ deploy:
acl: public_read
on:
repo: carlosperate/ardublockly
branch: [master, travisci, electron]
all_branches: true
notifications:
email:
......
......@@ -5,7 +5,7 @@ machine:
# Indicating node also offers advantage of bypassing virtual environments
node:
version: 0.12.4
version: 5.1.0
# Override /etc/hosts
hosts:
......@@ -21,22 +21,22 @@ checkout:
# Customize dependencies
dependencies:
pre:
#- sudo apt-get update -qq
# OS extra info
- uname -a
- ldd --version
- lsb_release -d
- python --version
- python -c "import struct; print(struct.calcsize('P') * 8)"
# Install tkinker and mock
- sudo apt-get install -y python-support
- sudo apt-get install python-tk
- sudo apt-get install -y python-tk
- sudo pip install mock
- sudo pip install mkdocs
# Install node.js
- curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
- sudo apt-get install -y nodejs
#- curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
#- sudo apt-get install -y nodejs
- node --version
- npm --version
......@@ -45,6 +45,7 @@ dependencies:
override:
# Build and pack
- python package/build_docs.py
- python package/build_pyinstaller.py linux
- cd package/electron && npm install
- cd package/electron && npm run release
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment