wolfeidau / node-netif

Node module which reads the mac address of a given network interface name.
MIT License
5 stars 2 forks source link

Set up appveyor build #3

Open jpommerening opened 9 years ago

jpommerening commented 9 years ago

Hey Mark!

Stuff seems to be working; except appveyor does not seem to pick up changes by itself, probably because the build is still running with my GitHub account.

Would you mind logging in with your GitHub account and enable the build for this project? After that go to the settings page of the project and set the file name for the config, enable rolling builds:

appveyor-cfg

Then, select "Badges" from the menu on the left and paste the markdown code into the README.md please? :)

jpommerening commented 9 years ago

@wolfeidau I just found out there's another way: You can also try to add Appveyor's WebHook URL https://ci.appveyor.com/api/github/webhook?id=8f4i2p4t2hk4hc9h to GitHub's repository settings.

Could you do that for me?

wolfeidau commented 9 years ago

Sorry i did all this already, can you not see it?

URL is https://ci.appveyor.com/project/wolfeidau/node-netif/history

jpommerening commented 9 years ago

Oh, haha, sorry, I didn't notice!

jpommerening commented 9 years ago

@wolfeidau I think we're almost there! I think my GitHub keys are not working with your Appveyor build, causing the upload to fail (https://ci.appveyor.com/project/wolfeidau/node-netif/build/1.0.5/job/8a2ujua9afr6iem7)

It probably has something to do with the encryption :weary:

Sorry to put you through all this, but could you try the following?

In your settings, create a new "Personal access token" (you only need to grant the public_repo permission), copy the hash (it won't ever be displayed again), paste it into Appveyor's encryption form (Travis has CLI for that, Appveyor only has that website it seems) and put the result into the .appveyor.yml file, replacing the old auth_token entry. Add, commit, push.

For consistency, if you want to, you can also supply the same key to Travis. Use travis encrypt <paste access token> (gem install travis) for encryption and replace the string inside .travis.yml.

(This all feels a little bit like duct-taping wheels to a boat to a helicopter, but once it works, it's pretty neat)