Commit Graph

57 Commits

Author SHA1 Message Date
wing328
714b94d96c v2.3.1 release 2018-01-13 15:42:56 +08:00
wing328
f9105c8bdc deploy snapshot version 2.3.1 2018-01-07 18:47:24 +08:00
wing328
bedd4c880e use openjdk7 in travis to ensure it works with jdk7 2018-01-07 11:04:48 +08:00
wing328
2cf6b98049 skip push snapshot to avoid error 2017-12-22 23:09:41 +08:00
wing328
e798c2b30e update ci config to install codegen locally 2017-12-22 11:59:40 +08:00
William Cheng
fd220147ae
Switch Travis image from MacOS to Linux (#6937)
* remove jdk7 check

* comment out some installation

* update npm

* comment out ts angular tests

* restore ts angular2 test

* restore bash test

* add back new config, clean up commented items
2017-11-12 21:50:11 +08:00
wing328
86b266b02f
[TS][Anuglar] Update Travis CI to cover TS Angular 4.3 petstore client (#6844)
* add CI to TS Angular 4.3

* comment out ts cache direcotries
2017-11-02 17:32:32 +08:00
wing328
16e7bc053b use travis_wait to avoid no output error 2017-10-31 21:43:34 +08:00
Jon Schoning
c7d145a4ba add haskell-http-client-generator (#6429) 2017-09-06 00:33:48 +08:00
Damien Pontifex
14f0375bdd Codegen class rename for Angular and AngularJS to reflect naming guidelines (#6109)
* Rrename for angular and angularjs to reflect naming guidelines

see http://angularjs.blogspot.com.au/2017/01/branding-guidelines-for-angular-and.html
- move makes typescript-angular -> typescript-angularjs
- move makes typescript-angular2 -> typescript-angular
Language string with generate was already this so generation shouldnt change
but class naming follows this convention now

* Fixing merge problems
2017-08-28 18:32:50 +08:00
wing328
67ec9d395d fix snapshot push for master 2017-07-27 19:43:41 +08:00
wing328
11d9cbd597 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-07-16 16:10:08 +08:00
wing328
34e94fbed0 Updated versions for 2.2.3 release and other minor enhancements (#6070)
* update pom to prepare 2.2.3 release

* add header support to qt5, update samples

* update version in java help

* update to xcode 9

* rollback to xcode8.2
2017-07-16 01:03:40 +08:00
wing328
a177e09fbd update mvn clean deploy for 2.3.0 2017-07-01 15:49:00 +08:00
wing328
7fa53773fc mvn deploy for master only (#5946) 2017-07-01 15:16:26 +08:00
wing328
2d058aa925 add info message for mvn clean deploy 2017-06-29 14:59:46 +08:00
wing328
bced355191 better detection for unresolved merge conflicts 2017-06-29 13:01:40 +08:00
Tony Tam
fae3f42ba8 Update .travis.yml 2017-06-27 10:44:25 -07:00
Tony Tam
eabc13e468 added sonatype push 2017-06-27 09:35:08 -07:00
wing328
3cbe96f3c6 comment out pod repo update 2017-06-05 18:03:20 +08:00
wing328
bbe019a3ce move docker tasks from travis to circleci 2017-06-05 17:54:25 +08:00
wing328
faf082589d Enable Travis CI tests for Swift, ObjC clients and move some tests to CircleCI (#5687)
* enable travis CI tests for swift, objc, move some tests to circleci

* fix comment in xml file

* use xcode8.3

* use ruby 2.2.5

* fix objc core data pom.xml

* use cocoapods 1.2.1

* use xcpretty for clearer test results

* fix pom with relative path to script

* comment out objc test

* fix xcpretty exit code

* add && exit ${PIPESTATUS[0]} for swift3 xcodebuild script

* use xcode 8.2

* update promisekit version for swift 2x, 3x

* add pod repo update

* remove Pods directory

* update swift dependencies to the latest version

* update podfile.lock

* rollback Alamofire to 4.0 for swift3

* fix swift3 rxswift api cliiet

* fix testDeletePet test in Swift3 rxswift petstore

* update clojure petstore

* comment out clojure test in travis (already covered in circleci)

* run pestore server locally

* use wing328/swagger-samples to run petstore

* run petstore server in the background

* test ruby petstore client

* add /Users/travis/.cocoapods/repos/master to cache

* add back ruby test, use public pestore server

* add back bash client test

* add npm config set registry to avoid time out

* use docker branch in swagger samples

* remove bash test

* show go version, reorder

* debug go petstore client

* reinstall go

* comment out pod repo update

* uncomment pod repo update

* test go in circleci

* remove go from travis test

* brew install sbt
2017-06-05 15:43:20 +08:00
wing328
bda5f1a5d5 add npm config set to avoid time out 2017-05-31 17:39:58 +08:00
Luca Favatella
ea16da813c [Erlang] Plant CI for server (#5559)
* [Erlang] Address apparent reproducibily issue of sample

Spotted running `bin/erlang-petstore-server.sh` on d08d55d41 .

Apart from newlines, this is the opposite change of ec6248cbc .

* [Erlang] Perform basic testing of sample server on CI

* [Erlang] Install recent Erlang/OTP version

... in order to satisfy `jesse` compilation.

The error I faced is:
```
$ curl -f -L -o ./rebar3 https://s3.amazonaws.com/rebar3/rebar3 && chmod +x ./rebar3 && ./rebar3 version && export PATH="${TRAVIS_BUILD_DIR}:$PATH"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  766k  100  766k    0     0  1041k      0 --:--:-- --:--:-- --:--:-- 1041k
rebar 3.3.6 on Erlang/OTP R16B03 Erts 5.10.4
...
===> Verifying dependencies...
===> Fetching jesse ({git,"https://github.com/for-GET/jesse.git",
                                 {tag,"1.4.0"}})
===> Fetching jsx ({git,"https://github.com/talentdeficit/jsx.git",
                               {branch,"v2.8.0"}})
===> Skipping jsx (from {git,"git://github.com/talentdeficit/jsx.git",
                                    {tag,"2.8.0"}}) as an app of the same name has already been fetched
===> Compiling jsx
===> Compiling jesse
===> Compiling _build/default/lib/jesse/src/jesse_tests_util.erl failed
_build/default/lib/jesse/src/jesse_tests_util.erl:28: can't find include lib "common_test/include/ct.hrl"
_build/default/lib/jesse/src/jesse_tests_util.erl:55: undefined macro 'config/2'

_build/default/lib/jesse/src/jesse_tests_util.erl:24: function do_test/2 undefined

_build/default/lib/jesse/src/jesse_tests_util.erl:72: function test_schema/3 is unused
_build/default/lib/jesse/src/jesse_tests_util.erl:102: function get_path/2 is unused
_build/default/lib/jesse/src/jesse_tests_util.erl:105: function load_schema/1 is unused

[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:804)
	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:751)
	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:313)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (Erlang Test) on project ErlangServerTests: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
```

* [Erlang] Bump `jsx` dependency to latest stable version

* [Erlang] Disable sample server from CI until compilation works
2017-05-06 11:23:30 +08:00
wing328
e66566a971 use quiet model when building with maven 2017-04-24 16:36:32 +08:00
wing328
e45284806f add gradle cache 2017-03-21 21:48:40 +08:00
wing328
9d64e792a3 add ivy2 to cache sbt install 2017-03-13 00:52:10 +08:00
Arne Jørgensen
0b9aaad1c2 Build and upload Swagger Codegen CLI Docker image on release (#4912)
* Run mvn in batch-mode to be less verbose on download

* Build and upload Swagger Codegen CLI Docker image on release

* Ensure we only push master and tags to Docker Hub
2017-03-12 17:09:47 +08:00
wing328
8fb71b46db cache module directory to improve CI performance (#5025) 2017-03-11 16:59:17 +08:00
Bartek Kryza
0fb154e9a2 [Bash] Bash client script generator (#4541)
* Initial commit

* Remormatted petstore tests

* Added Bash codegen to main README.md

* Added bash to integration tests

* Fixed stdin detection in generated script

* Added back ruby module
2017-01-12 16:48:25 +08:00
wing328
4d4af71446 [CI] Add scripts to detect carriage return and tab (#4526)
* add script to detect carriage return

* add check for generator as well

* add fail fast to travis config

* remove tab

* move scripts under bin/utils

* remove carriage return

* move scripts to bin/utils
2017-01-09 18:29:41 +08:00
wing328
7827298e56 [Go] Fix CI tests (#3569)
* show path

* install go
2016-08-10 15:34:48 +08:00
wing328
c23b473636 [Go] update travis config to run Go Petstore tests (#3465)
* update pom to include go ci

* fix pom

* add gopath

* update GOPATH

* reorder pom client, server test sequence

* remove debug echo in travis
2016-07-27 16:19:23 +08:00
wing328
72be69d2ed Run petstore.swagger.io locally (#3411)
* update travis to run petstore server locally

* fix docker command

* update travis with addon

* add comment to travis.yml
2016-07-19 22:36:10 +08:00
Jason Gavris
4d9b5feb77 [Travis] Cache maven directory 2016-07-14 21:57:24 -04:00
wing328
661aa25c3d sudo to install virtualenv 2016-06-11 10:38:22 +08:00
wing328
1221a83504 add python ci 2016-06-11 10:35:50 +08:00
wing328
1e45af2fbc install typescript in travis ci 2016-05-20 14:15:04 +08:00
Tony Tam
94abbbdca7 fixed variable 2016-01-07 21:26:19 -08:00
Tony Tam
1b5a7be56d updated .travis 2016-01-07 21:11:00 -08:00
Tony Tam
309906ce3a updated travis file 2016-01-07 14:35:47 -08:00
Arne Jørgensen
b256ccb045 Document Java 8 as requirement. 2016-01-07 22:01:22 +01:00
Tony Tam
352b4ea923 travis 2016-01-07 11:19:29 -08:00
Tony Tam
4fe6381fcf updated travis 2016-01-07 11:03:24 -08:00
Tony Tam
151de79a98 formatting 2016-01-06 09:31:06 -08:00
Tony Tam
3d6a3e28c2 Update .travis.yml 2016-01-05 12:29:48 -08:00
Tony Tam
19beb90c27 Update .travis.yml 2016-01-05 12:23:38 -08:00
Tony Tam
69e7990fe1 updated to enable docker 2016-01-05 04:08:52 -08:00
Tony Tam
a57be19870 updated to install bundler 2016-01-05 03:59:55 -08:00
Tony Tam
43928a7726 enabled docker 2016-01-04 20:25:45 -08:00