.travis.yml
author Mikael Berthe <mikael@lilotux.net>
Fri, 07 Sep 2018 19:17:12 +0200
changeset 243 7386c6a454a8
parent 223 1bea7f8ff489
child 246 3dcfc59d90b9
permissions -rw-r--r--
Change the way parameter lists are handled internally Instead of trying to guess if a query key is a list (to strip the index number, since Rails expects list IDs without index number), we prefix the key name with the index when dealing with lists. E.g.: [0]ids: "one" [1]ids: "two" will be sent as ids[]=one&ids[]=two It makes it more reliable and let us differenciate between arrays and objects (objects are untouched and sent as-is).

language: go
go:
- "1.7"
- "1.8"
- "1.9"
- "1.10"
- master
matrix:
  allow_failures:
    - go: master
  fast_finish: true
branches:
  only:
  - master
install:
- go get golang.org/x/oauth2
- go get github.com/pkg/errors
- go get github.com/stretchr/testify/assert
- go get github.com/sendgrid/rest
- go get github.com/gorilla/websocket