Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
4c2d4808
Commit
4c2d4808
authored
Jun 10, 2015
by
carlosperate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CircleCi cloud build:
parent
bca0c6d9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
97 additions
and
5 deletions
+97
-5
.travis.yml
.travis.yml
+3
-3
ArdublocklyServer/PySerialListPorts/list_ports_windows.py
ArdublocklyServer/PySerialListPorts/list_ports_windows.py
+1
-1
circle.yml
circle.yml
+92
-0
package/README.md
package/README.md
+1
-1
No files found.
.travis.yml
View file @
4c2d4808
...
@@ -73,9 +73,9 @@ script:
...
@@ -73,9 +73,9 @@ script:
# Deploy the build version in an S3 bucket
# Deploy the build version in an S3 bucket
deploy
:
deploy
:
provider
:
s3
provider
:
s3
access_key_id
:
AKIA
IBDOPX6GSMBDEFP
Q
access_key_id
:
AKIA
JYJV7NN6HVHCX5N
Q
secret_access_key
:
secret_access_key
:
secure
:
QNNNIgHpcTYJZS1K4w8iPqJWq1Xhx8ICoVJ79QURS5Vi4ppnP0smuW13+XdmjoZyoceSoR4iOcKX7o4HXDozsejy3ft72tXgNntVQoOOKYxnV1zKYHc7Q6ID6L3GlPKV2EQid30CM4bP0mm4P8ntuemUOwhqm4mjRwDxAMpxsEbXgNAHAMifn40g5u2rHuwo64+UUll6m2Ues6mekAlwq6YQKn0numrcHRZX9F3kMLyrSHO671EkyfVsBbZpk7+HIEXmgXgPb4juefcxUlhYQFvnlBPyyTG1ec0BE2un714vZe+Gq0w1UYQbIpsAvM1HDWQKa2S9m2gz1TXC5YXOKAfoenyFsrgvdT00zpxVrTLAGhmIgtxsbAYXVPRg/6g5E+DW/JJ2xBfMJyw3j/82vexkHpvQcut9zZ74CE2H0CtyNXHvwdcwMs+qoja6tLw1dvFD7yrTo2T/jCOxFoGYjneF3Syuh8GpALSGGUJDnyFiK0yD2B0r2567csFj5Sc0CO/ExFwfG9zmiVtkm0Xpfq09VcZFjVnJ4k8QyNvrHmnGB/H7P6CskSA1X9gGIyk36Cu17XyyrtIuM+UUIdnrZhWCI3zA/2UVawkEjA+zhpbKFKsxIe37bPpIpNM+OyMLppZzzpcaRAynh6a/8Hcc+ckh4zMg7qWu7VXyYvjSkl0=
secure
:
PlLCQKTcf9IzBXpEnXUxbJifb0usS7qcghnM0VxBTX0IL3C975JPidrYjP39ge7P
bucket
:
ardublockly-builds
bucket
:
ardublockly-builds
skip_cleanup
:
true
skip_cleanup
:
true
local-dir
:
upload
local-dir
:
upload
...
@@ -83,4 +83,4 @@ deploy:
...
@@ -83,4 +83,4 @@ deploy:
acl
:
public_read
acl
:
public_read
on
:
on
:
repo
:
carlosperate/ardublockly
repo
:
carlosperate/ardublockly
branch
:
travis
t-update
branch
:
travis
ci
ArdublocklyServer/PySerialListPorts/list_ports_windows.py
View file @
4c2d4808
...
@@ -42,7 +42,7 @@ def string(buffer):
...
@@ -42,7 +42,7 @@ def string(buffer):
s
=
[]
s
=
[]
for
c
in
buffer
:
for
c
in
buffer
:
if
c
==
0
:
break
if
c
==
0
:
break
s
.
append
(
chr
(
c
&
0xff
))
# "& 0xff": hack to convert signed to unsigned
s
.
append
(
chr
(
c
&
0xff
))
# "& 0xff": hack to convert signed to unsigned
return
''
.
join
(
s
)
return
''
.
join
(
s
)
...
...
circle.yml
0 → 100644
View file @
4c2d4808
## Customize the test machine
machine
:
timezone
:
Europe/London
# Indicating Ruby to bypass virtual environments
ruby
:
version
:
1.8.7-p358-falcon-perf
# Override /etc/hosts
hosts
:
circlehost
:
127.0.0.1
dev.mycompany.com
:
127.0.0.1
## Customize checkout
checkout
:
post
:
-
git submodule sync
-
git submodule update --init --recursive
## Customize dependencies
dependencies
:
pre
:
#- sudo apt-get update -qq
# OS extra info
-
uname -a
-
ldd --version
-
python --version
-
python -c "import struct; print(struct.calcsize('P') * 8)"
# Install wxPython and tkinker
-
sudo apt-get install -y python-support
-
sudo apt-get install python-tk
-
sudo apt-get install -y python-wxgtk2.8 python-wxtools wx2.8-i18n
#- sudo apt-get install -y python-wxgtk3.0 python-wxtools wx3.0-i18n
#- sudo apt-get install -y dpkg-dev build-essential python2.7-dev
#- sudo apt-get install -y libjpeg-dev libtiff-dev
#- sudo apt-get install -y libgtk2.0-dev
#- sudo apt-get install -y libsdl1.2-dev libgstreamer-plugins-base0.10-dev
#- sudo pip install --upgrade --pre -f http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix
# Install cefpython3 (cef from official dropbox link)
-
sudo wget https://www.dropbox.com/sh/zar95p27yznuiv1/AACGmGx08UMq8uEGDFlINFdwa/31.2/Linux/python-cefpython3_31.2-1_amd64.deb?dl=1 --directory-prefix=../
-
sudo dpkg -i ../python-cefpython3_31.2-1_amd64.deb?dl=1
#- if [ ! -f ~/installers/python-cefpython3_31.2-1_amd64.deb?dl=1 ]; then sudo wget https://www.dropbox.com/sh/zar95p27yznuiv1/AACGmGx08UMq8uEGDFlINFdwa/31.2/Linux/python-cefpython3_31.2-1_amd64.deb?dl=1 --directory-prefix=~/installers/ ; fi
#- sudo dpkg -i ~/installers/python-cefpython3_31.2-1_amd64.deb?dl=1
override
:
# Adding cefpython installation dir to travis-ci python paths, listed in:
# https://code.google.com/p/cefpython/wiki/Download_CEF3_Linux
-
export PYTHONPATH=$PYTHONPATH:/usr/share/pyshared/
-
export PYTHONPATH=$PYTHONPATH:/usr/lib/pymodules/python2.7/
# Build and pack
-
python package/build_linux.py
-
python package/pack_ardublockly.py
# Get the upload file as a environmenta variable
-
cd upload
-
for entry in *; do export ardublocklyZipFile="$entry"; done && echo $ardublocklyZipFile
# Automatically cache and restore many dependencies between builds
cache_directories
:
-
"
~/installers"
## Customize test commands
test
:
override
:
-
python ArdublocklyServer/tests/SketchCreator_test.py
-
echo $ardublocklyZipFile
## Customize deployment commands
deployment
:
staging
:
branch
:
[
master
,
circleci
]
codedeploy
:
appname-1234
:
application_root
:
/upload
region
:
us-west-2
revision_location
:
revision_type
:
S3
s3_location
:
bucket
:
ardublockly-builds
key_pattern
:
linux/ardublockly_{BUILD_NUM}_64bit_{BRANCH}_{SHORT_COMMIT}.zip
deployment_group
:
my-deployment-group
general
:
artifacts
:
-
"
upload/*"
package/README.md
View file @
4c2d4808
...
@@ -11,7 +11,7 @@ Development builds are frequently triggered in build servers and hosted in the f
...
@@ -11,7 +11,7 @@ Development builds are frequently triggered in build servers and hosted in the f
| Linux build | Windows build | Mac OS X build |
| Linux build | Windows build | Mac OS X build |
|:-------------------:|:-------------------:|:--------------------:|
|:-------------------:|:-------------------:|:--------------------:|
|
[
![Linux Build Status
](
https://
travis-ci.org/carlosperate/ardublockly.svg?branch=master
)
](https://travis-ci.org/carlosperate/ardublockly) |
[
![Windows Build status
](
https://ci.appveyor.com/api/projects/status/t877g920hdiifc2i?svg=true
)
](https://ci.appveyor.com/project/carlosperate/ardublockly) | TBD
|
|
[
![Linux Build Status
](
https://
circleci.com/gh/carlosperate/ardublockly/tree/master.svg?style=svg
)
](https://circleci.com/gh/carlosperate/ardublockly/tree/master) |
[
![Windows Build status
](
https://ci.appveyor.com/api/projects/status/t877g920hdiifc2i?svg=true
)
](https://ci.appveyor.com/project/carlosperate/ardublockly) |
[
![Mac Build Status
](
https://travis-ci.org/carlosperate/ardublockly.svg?branch=master
)
](https://travis-ci.org/carlosperate/ardublockly)
|
|
[
Download Link
][
11
]
|
[
Download Link
][
12
]
|
[
Download Link
][
13
]
|
|
[
Download Link
][
11
]
|
[
Download Link
][
12
]
|
[
Download Link
][
13
]
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment