Skip to content

Use hourly Arduino builds on Travis #1573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2016
Merged

Use hourly Arduino builds on Travis #1573

merged 2 commits into from
Feb 15, 2016

Conversation

igrr
Copy link
Member

@igrr igrr commented Feb 4, 2016

Let's see if we can build all the sketches using the latest Arduino software.

Triggered by arduino/arduino-builder#68 (comment).

@igrr igrr force-pushed the travis-hourly-arduino branch from b6d3764 to d3afae1 Compare February 4, 2016 15:26
@marvinroger
Copy link
Contributor

Looks like there is another issue, not only the ctag one.

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

Yeah, it looks like a name defined in another file (tab) is not recognized. This does work for simple cases though.

@marvinroger
Copy link
Contributor

And I am pretty sure most people use a single ".ino" file without any headers, so this is no big deal for the average Arduino user.

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

Found that this issue is triggered by #include <DNSServer.h>.

@mkeyno
Copy link

mkeyno commented Feb 4, 2016

hi guys
this is the first time that face many annoying problem when I update my Arduino & library , both program shows less reliability regard their prior , I've tried to solve the Arduino pre process issue with creation utility.h header in core folder location but I've had the partial score and new issue just come out such as "Sketch Data Upload" function in IDE, following is the error that come out

Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: tried to access method processing.app.Sketch.prepareDataFolder()Ljava/io/File; from class com.esp8266.mkspiffs.ESP8266FS
at com.esp8266.mkspiffs.ESP8266FS.createAndUpload(ESP8266FS.java:165)
at com.esp8266.mkspiffs.ESP8266FS.run(ESP8266FS.java:226)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

I'm kinda exhausted and maybe decide to come back to previous version and drop up all these new features

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

@mkeyno thanks for reporting that

@mkeyno
Copy link

mkeyno commented Feb 4, 2016

thanks to you Iggr for your concern

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

Okay, the issue at hand is the use of enum class feature in DNSServer library: https://github.com/esp8266/Arduino/blob/master/libraries/DNSServer/src/DNSServer.h#L9
ctags is not aware of this new C++11 construct, which breaks parsing.

@mkeyno
Copy link

mkeyno commented Feb 4, 2016

@iggr what single header file hast to do with IDE java runtime error, this issue come with IDE, even with empty code sketch , I think this java malfunction not related with any installed library

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

@mkeyno I have attempted to reproduce the issue with arduino-esp8266fs-plugin, but was unable to do so with an hourly build downloaded just now. I'm on OS X. Please make sure you use the latest version of the plugin: https://github.com/esp8266/arduino-esp8266fs-plugin/releases/tag/0.2.0. If it still doesn't work, please open an issue at https://github.com/esp8266/arduino-esp8266fs-plugin/issues so we can get more details from you and investigate.

@mkeyno
Copy link

mkeyno commented Feb 4, 2016

@igrr yes buddy , same error, but can you tell me where exact location should I paste this file

my portable arduino located in drive D whereas the stable library make location in C:\Users\Private\AppData\Local\Arduino15

I copy this file almost every where , because there is many folder named tools

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

@mkeyno No problem, please open the issue on arduino-esp8266fs-plugin tracker and we will take a look.

@igrr
Copy link
Member Author

igrr commented Feb 4, 2016

Waiting for arduino/ctags#5 to be merged and Arduino ctags to be updated.

@mkeyno
Copy link

mkeyno commented Feb 4, 2016

sure buddy , also can you give me or direct me to the link which is use PROGMEM instead the SPIFF to keep the webpage , I intend to use the reliable methods for my web server until all issue related the flash memory get fixed

@marvinroger
Copy link
Contributor

Yet another issue with ctag?

@igrr
Copy link
Member Author

igrr commented Feb 15, 2016

@marvinroger this one is not related to ctags, i believe arduino-builder is placing the manageRequest declaration before the first function in the sketch, therefore it is not yet defined at the point of global declaration.

Relevant ticket: arduino/arduino-builder#85

@igrr igrr force-pushed the travis-hourly-arduino branch from d3afae1 to 88a20ae Compare February 15, 2016 10:57
igrr added a commit that referenced this pull request Feb 15, 2016
Use hourly Arduino builds on Travis
@igrr igrr merged commit fec1a64 into master Feb 15, 2016
@igrr igrr deleted the travis-hourly-arduino branch March 3, 2016 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants