Closed BenoitAnastay closed 4 years ago
hi we're not sure either but things were breaking meanwhile so we had to revert until we can spend more time looking
@ladyada the https://github.com/adafruit/travis-ci-arduino/issues/59 issue is due to the fact that the commands aren't sourced and the .travis file wasn't updated
I'll try to fix that
ok! thanks :)
It should be fixed, after reverting .travis.yml
it reproduced https://github.com/adafruit/travis-ci-arduino/issues/59 (https://travis-ci.com/adafruit/travis-ci-arduino/builds/141323655)
But with https://github.com/adafruit/travis-ci-arduino/pull/61/commits/8f87204e04c6968e3e9562a0c9545a14ba961e5e i can call those functions either as a command and as argument
It does work as you can see in the logs
The command "build_platform nrf52840" exited with 0.
The command "build_platform esp32" exited with 0.
The command "build_platform uno" exited with 0.
The command "build_platform leonardo" exited with 0.
The command "build_platform zero" exited with 0.
The command "build_platform esp8266" exited with 0.
The command "build_platform m4" exited with 0.
So travis is working the same way as before PR and Github worked too
In the travis file I just removed setuptools, the calls didn't changed
@ladyada You can securely merge it now When you asked me to merge build.sh and install.sh I forgot that install.sh was sourcing commands for travis, sorry
@makermelissa wanna test this tomrorow after mergin?
A possible issue with the directory change is that it allow travis to deploy but will require a .gitignore , it's not the only thing that generating files in the repository there is also Adafruit_Test_Library
@ladyada, sounds good. @BenoitAnastay, most repos have a.gitignore already.
I'm temporarily pointing a PR to BenoitAnastay's repo, so I can test it prior to merging. So far, so good. If that tests good, I'll merge and update my other PR.
It seemed to work great. Now to give it a live test.
Tested good live.
Edit : I also fixed https://github.com/adafruit/travis-ci-arduino/issues/59
I was trying to use deploy with travis and after a debug I realised that the files are accessible throught shell but not for deploy
Example of a working deploy,
It may be a good idea also to add a deploy demo configuration somewhere, maybe in the readme