license_finder 2.1.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +29 -0
  4. data/CONTRIBUTING.md +28 -3
  5. data/Dockerfile +82 -0
  6. data/README.md +11 -2
  7. data/Rakefile +27 -0
  8. data/appveyor.yml +21 -0
  9. data/bin/license_finder_pip.py +1 -1
  10. data/ci/pipelines/pipeline.yml.erb +78 -0
  11. data/ci/scripts/test.sh +27 -0
  12. data/ci/tasks/build.yml +16 -0
  13. data/features/features/package_managers/gradle_spec.rb +6 -0
  14. data/features/features/package_managers/maven_spec.rb +9 -0
  15. data/features/features/report/diff_spec.rb +26 -23
  16. data/features/fixtures/alternate-build-file-gradle/build-alt.gradle +26 -0
  17. data/features/fixtures/alternate-build-file-gradle/settings.gradle +1 -0
  18. data/features/fixtures/file-based-libs-gradle/build.gradle +1 -1
  19. data/features/fixtures/gradle-wrapper/build.gradle +26 -0
  20. data/features/fixtures/gradle-wrapper/gradlew +3 -0
  21. data/features/fixtures/gradle-wrapper/gradlew.bat +1 -0
  22. data/features/fixtures/maven-wrapper/mvnw +3 -0
  23. data/features/fixtures/maven-wrapper/mvnw.cmd +7 -0
  24. data/features/fixtures/maven-wrapper/pom.xml +37 -0
  25. data/features/support/testing_dsl.rb +12 -5
  26. data/lib/license_finder/cli/base.rb +1 -0
  27. data/lib/license_finder/cli/main.rb +2 -1
  28. data/lib/license_finder/configuration.rb +6 -13
  29. data/lib/license_finder/core.rb +2 -1
  30. data/lib/license_finder/diff.rb +4 -4
  31. data/lib/license_finder/package.rb +5 -3
  32. data/lib/license_finder/package_delta.rb +2 -5
  33. data/lib/license_finder/package_managers/bower.rb +1 -1
  34. data/lib/license_finder/package_managers/bundler.rb +4 -4
  35. data/lib/license_finder/package_managers/go_dep.rb +21 -4
  36. data/lib/license_finder/package_managers/go_package.rb +2 -1
  37. data/lib/license_finder/package_managers/go_vendor.rb +21 -7
  38. data/lib/license_finder/package_managers/go_workspace.rb +18 -11
  39. data/lib/license_finder/package_managers/gradle.rb +42 -15
  40. data/lib/license_finder/package_managers/maven.rb +31 -17
  41. data/lib/license_finder/package_managers/maven_dependency_finder.rb +13 -0
  42. data/lib/license_finder/package_managers/maven_package.rb +6 -1
  43. data/lib/license_finder/package_managers/npm.rb +4 -4
  44. data/lib/license_finder/package_managers/rebar.rb +1 -1
  45. data/lib/license_finder/reports/csv_report.rb +5 -1
  46. data/lib/license_finder/reports/diff_report.rb +3 -7
  47. data/lib/license_finder/reports/text_report.rb +6 -1
  48. data/lib/license_finder/version.rb +1 -1
  49. data/license_finder.gemspec +6 -0
  50. data/spec/lib/license_finder/configuration_spec.rb +0 -8
  51. data/spec/lib/license_finder/core_spec.rb +2 -1
  52. data/spec/lib/license_finder/diff_spec.rb +50 -27
  53. data/spec/lib/license_finder/package_managers/bower_spec.rb +1 -1
  54. data/spec/lib/license_finder/package_managers/bundler_spec.rb +1 -1
  55. data/spec/lib/license_finder/package_managers/go_dep_spec.rb +14 -1
  56. data/spec/lib/license_finder/package_managers/go_vendor_spec.rb +23 -2
  57. data/spec/lib/license_finder/package_managers/go_workspace_spec.rb +23 -7
  58. data/spec/lib/license_finder/package_managers/gradle_spec.rb +55 -2
  59. data/spec/lib/license_finder/package_managers/maven_package_spec.rb +16 -3
  60. data/spec/lib/license_finder/package_managers/maven_spec.rb +56 -4
  61. data/spec/lib/license_finder/package_managers/merged_package_spec.rb +8 -4
  62. data/spec/lib/license_finder/package_spec.rb +4 -1
  63. data/spec/lib/license_finder/reports/csv_report_spec.rb +8 -0
  64. data/spec/lib/license_finder/reports/diff_report_spec.rb +5 -5
  65. data/spec/lib/license_finder/reports/text_report_spec.rb +5 -0
  66. metadata +218 -9
  67. data/.travis.yml +0 -37
  68. data/.travis/install_bower.sh +0 -5
  69. data/.travis/install_godep.sh +0 -6
  70. data/.travis/install_gradle.sh +0 -12
  71. data/.travis/install_rebar.sh +0 -14
@@ -13,8 +13,8 @@ module LicenseFinder
13
13
  bar_change = PackageDelta.removed(bar)
14
14
 
15
15
  report = DiffReport.new([foo_change, bar_change])
16
- expect(report.to_s).to include('removed,bar,,1.1.0,GPLv2')
17
- expect(report.to_s).to include('added,foo,1.0.0,,MIT')
16
+ expect(report.to_s).to include('removed,bar,1.1.0,GPLv2')
17
+ expect(report.to_s).to include('added,foo,1.0.0,MIT')
18
18
  end
19
19
 
20
20
  it 'should generate a diff report displaying version changes' do
@@ -25,7 +25,7 @@ module LicenseFinder
25
25
  foo = PackageDelta.unchanged(foo_new, foo_old)
26
26
 
27
27
  report = DiffReport.new([foo])
28
- expect(report.to_s).to include('unchanged,foo,1.1.0,1.0.0,MIT')
28
+ expect(report.to_s).to include('unchanged,foo,1.1.0,MIT')
29
29
  end
30
30
  end
31
31
 
@@ -47,8 +47,8 @@ module LicenseFinder
47
47
 
48
48
 
49
49
  report = DiffReport.new([foo, bar])
50
- expect(report.to_s).to include("unchanged,foo,1.1.0,1.0.0,MIT,#{expanded_foo_path}")
51
- expect(report.to_s).to include("added,bar,1.1.0,,MIT,\"#{expanded_bar_path1},#{expanded_bar_path2}\"")
50
+ expect(report.to_s).to include("unchanged,foo,1.1.0,MIT,#{expanded_foo_path}")
51
+ expect(report.to_s).to include("added,bar,1.1.0,MIT,\"#{expanded_bar_path1},#{expanded_bar_path2}\"")
52
52
  end
53
53
  end
54
54
  end
@@ -28,6 +28,11 @@ module LicenseFinder
28
28
  is_expected.to eq("gem_a, 1.0, MIT\ngem_b, 1.0, MIT\ngem_c, 2.0, \"MIT, BSD\"\n")
29
29
  end
30
30
 
31
+ it 'should generate a text report with the name, version of each dependency, use --columns option' do
32
+ report = described_class.new([dep3, dep2, dep1], columns: %w[name version]).to_s
33
+ expect(report).to eq("gem_a, 1.0\ngem_b, 1.0\ngem_c, 2.0\n")
34
+ end
35
+
31
36
  it 'prints a warning message for packages that have not been installed' do
32
37
  dep = Package.new('gem_d', '2.0', missing: true)
33
38
  report = described_class.new([dep]).to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: license_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Maine
@@ -20,7 +20,7 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2016-06-10 00:00:00.000000000 Z
23
+ date: 2017-03-16 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
@@ -92,6 +92,20 @@ dependencies:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: with_env
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">"
100
+ - !ruby/object:Gem::Version
101
+ version: '1.0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">"
107
+ - !ruby/object:Gem::Version
108
+ version: '1.0'
95
109
  - !ruby/object:Gem::Dependency
96
110
  name: capybara
97
111
  requirement: !ruby/object:Gem::Requirement
@@ -106,6 +120,20 @@ dependencies:
106
120
  - - "~>"
107
121
  - !ruby/object:Gem::Version
108
122
  version: 2.0.0
123
+ - !ruby/object:Gem::Dependency
124
+ name: cocoapods
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - '='
128
+ - !ruby/object:Gem::Version
129
+ version: 0.34.0
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - '='
135
+ - !ruby/object:Gem::Version
136
+ version: 0.34.0
109
137
  - !ruby/object:Gem::Dependency
110
138
  name: fakefs
111
139
  requirement: !ruby/object:Gem::Requirement
@@ -190,6 +218,20 @@ dependencies:
190
218
  - - "~>"
191
219
  - !ruby/object:Gem::Version
192
220
  version: '1.13'
221
+ - !ruby/object:Gem::Dependency
222
+ name: rack
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">"
226
+ - !ruby/object:Gem::Version
227
+ version: '1.6'
228
+ type: :development
229
+ prerelease: false
230
+ version_requirements: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">"
233
+ - !ruby/object:Gem::Version
234
+ version: '1.6'
193
235
  - !ruby/object:Gem::Dependency
194
236
  name: mime-types
195
237
  requirement: !ruby/object:Gem::Requirement
@@ -204,6 +246,20 @@ dependencies:
204
246
  - - "<"
205
247
  - !ruby/object:Gem::Version
206
248
  version: '3.0'
249
+ - !ruby/object:Gem::Dependency
250
+ name: addressable
251
+ requirement: !ruby/object:Gem::Requirement
252
+ requirements:
253
+ - - "<"
254
+ - !ruby/object:Gem::Version
255
+ version: 2.5.0
256
+ type: :development
257
+ prerelease: false
258
+ version_requirements: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - "<"
261
+ - !ruby/object:Gem::Version
262
+ version: 2.5.0
207
263
  description: |2
208
264
  LicenseFinder works with your package managers to find
209
265
  dependencies, detect the licenses of the packages in them, compare
@@ -220,20 +276,20 @@ files:
220
276
  - ".force-build"
221
277
  - ".gitignore"
222
278
  - ".rspec"
223
- - ".travis.yml"
224
- - ".travis/install_bower.sh"
225
- - ".travis/install_godep.sh"
226
- - ".travis/install_gradle.sh"
227
- - ".travis/install_rebar.sh"
228
279
  - CHANGELOG.md
229
280
  - CONTRIBUTING.md
281
+ - Dockerfile
230
282
  - Gemfile
231
283
  - LICENSE
232
284
  - README.md
233
285
  - Rakefile
234
286
  - TODO.md
287
+ - appveyor.yml
235
288
  - bin/license_finder
236
289
  - bin/license_finder_pip.py
290
+ - ci/pipelines/pipeline.yml.erb
291
+ - ci/scripts/test.sh
292
+ - ci/tasks/build.yml
237
293
  - features/features/cli/cli_spec.rb
238
294
  - features/features/configure/add_dependencies_spec.rb
239
295
  - features/features/configure/approve_dependencies_spec.rb
@@ -260,12 +316,20 @@ files:
260
316
  - features/features/report/java_groups_spec.rb
261
317
  - features/features/report/subproject_spec.rb
262
318
  - features/fixtures/Podfile
319
+ - features/fixtures/alternate-build-file-gradle/build-alt.gradle
320
+ - features/fixtures/alternate-build-file-gradle/settings.gradle
263
321
  - features/fixtures/build.gradle
264
322
  - features/fixtures/file-based-libs-gradle/build.gradle
265
323
  - features/fixtures/file-based-libs-gradle/libs/data.json-0.2.3.jar
266
324
  - features/fixtures/gopath/src/github.com/pivotal/foo/Godeps/Godeps.json
267
325
  - features/fixtures/gopath/src/github.com/pivotal/foo/Godeps/Readme
268
326
  - features/fixtures/gopath/src/github.com/pivotal/foo/foo.go
327
+ - features/fixtures/gradle-wrapper/build.gradle
328
+ - features/fixtures/gradle-wrapper/gradlew
329
+ - features/fixtures/gradle-wrapper/gradlew.bat
330
+ - features/fixtures/maven-wrapper/mvnw
331
+ - features/fixtures/maven-wrapper/mvnw.cmd
332
+ - features/fixtures/maven-wrapper/pom.xml
269
333
  - features/fixtures/multi-module-gradle/build.gradle
270
334
  - features/fixtures/multi-module-gradle/module1/build.gradle
271
335
  - features/fixtures/multi-module-gradle/module2/build.gradle
@@ -336,6 +400,7 @@ files:
336
400
  - lib/license_finder/package_managers/gradle_dependency_finder.rb
337
401
  - lib/license_finder/package_managers/gradle_package.rb
338
402
  - lib/license_finder/package_managers/maven.rb
403
+ - lib/license_finder/package_managers/maven_dependency_finder.rb
339
404
  - lib/license_finder/package_managers/maven_package.rb
340
405
  - lib/license_finder/package_managers/merged_package.rb
341
406
  - lib/license_finder/package_managers/npm.rb
@@ -479,8 +544,152 @@ required_rubygems_version: !ruby/object:Gem::Requirement
479
544
  version: '0'
480
545
  requirements: []
481
546
  rubyforge_project:
482
- rubygems_version: 2.5.1
547
+ rubygems_version: 2.5.2
483
548
  signing_key:
484
549
  specification_version: 4
485
550
  summary: Audit the OSS licenses of your application's dependencies.
486
- test_files: []
551
+ test_files:
552
+ - features/features/cli/cli_spec.rb
553
+ - features/features/configure/add_dependencies_spec.rb
554
+ - features/features/configure/approve_dependencies_spec.rb
555
+ - features/features/configure/assign_licenses_spec.rb
556
+ - features/features/configure/blacklist_licenses_spec.rb
557
+ - features/features/configure/ignore_dependencies_spec.rb
558
+ - features/features/configure/ignore_groups_spec.rb
559
+ - features/features/configure/name_project_spec.rb
560
+ - features/features/configure/set_project_path_spec.rb
561
+ - features/features/configure/whitelist_licenses_spec.rb
562
+ - features/features/package_managers/bower_spec.rb
563
+ - features/features/package_managers/cocoapods_spec.rb
564
+ - features/features/package_managers/godep_spec.rb
565
+ - features/features/package_managers/gradle_spec.rb
566
+ - features/features/package_managers/maven_spec.rb
567
+ - features/features/package_managers/npm_spec.rb
568
+ - features/features/package_managers/nuget_spec.rb
569
+ - features/features/package_managers/pip_spec.rb
570
+ - features/features/package_managers/rebar_spec.rb
571
+ - features/features/report/composite_spec.rb
572
+ - features/features/report/csv_spec.rb
573
+ - features/features/report/diff_spec.rb
574
+ - features/features/report/html_spec.rb
575
+ - features/features/report/java_groups_spec.rb
576
+ - features/features/report/subproject_spec.rb
577
+ - features/fixtures/Podfile
578
+ - features/fixtures/alternate-build-file-gradle/build-alt.gradle
579
+ - features/fixtures/alternate-build-file-gradle/settings.gradle
580
+ - features/fixtures/build.gradle
581
+ - features/fixtures/file-based-libs-gradle/build.gradle
582
+ - features/fixtures/file-based-libs-gradle/libs/data.json-0.2.3.jar
583
+ - features/fixtures/gopath/src/github.com/pivotal/foo/Godeps/Godeps.json
584
+ - features/fixtures/gopath/src/github.com/pivotal/foo/Godeps/Readme
585
+ - features/fixtures/gopath/src/github.com/pivotal/foo/foo.go
586
+ - features/fixtures/gradle-wrapper/build.gradle
587
+ - features/fixtures/gradle-wrapper/gradlew
588
+ - features/fixtures/gradle-wrapper/gradlew.bat
589
+ - features/fixtures/maven-wrapper/mvnw
590
+ - features/fixtures/maven-wrapper/mvnw.cmd
591
+ - features/fixtures/maven-wrapper/pom.xml
592
+ - features/fixtures/multi-module-gradle/build.gradle
593
+ - features/fixtures/multi-module-gradle/module1/build.gradle
594
+ - features/fixtures/multi-module-gradle/module2/build.gradle
595
+ - features/fixtures/multi-module-gradle/settings.gradle
596
+ - features/fixtures/nuget/.nuget/.keep
597
+ - features/fixtures/nuget/Fun.Test/packages.config
598
+ - features/fixtures/nuget/Fun/packages.config
599
+ - features/fixtures/pom.xml
600
+ - features/fixtures/rebar.config
601
+ - features/fixtures/single-module-gradle/build.gradle
602
+ - features/support/feature_helper.rb
603
+ - features/support/testing_dsl.rb
604
+ - spec/dummy_app/Gemfile
605
+ - spec/fixtures/all_pms/.envrc
606
+ - spec/fixtures/all_pms/.nuget/.keep
607
+ - spec/fixtures/all_pms/Gemfile
608
+ - spec/fixtures/all_pms/Godeps/Godeps.json
609
+ - spec/fixtures/all_pms/Podfile
610
+ - spec/fixtures/all_pms/bower.json
611
+ - spec/fixtures/all_pms/build.gradle
612
+ - spec/fixtures/all_pms/package.json
613
+ - spec/fixtures/all_pms/pom.xml
614
+ - spec/fixtures/all_pms/rebar.config
615
+ - spec/fixtures/all_pms/requirements.txt
616
+ - spec/fixtures/all_pms/vendor/.gitkeep
617
+ - spec/fixtures/composite/Gemfile
618
+ - spec/fixtures/composite/nested_project/.envrc
619
+ - spec/fixtures/composite/nested_project/src/github.com/pivotal/foo/Godeps/Godeps.json
620
+ - spec/fixtures/composite/nested_project/src/github.com/pivotal/foo/Godeps/Readme
621
+ - spec/fixtures/composite/nested_project/src/github.com/pivotal/foo/foo.go
622
+ - spec/fixtures/composite/not_a_project/DONTREADME.md
623
+ - spec/fixtures/composite/project1/Gemfile
624
+ - spec/fixtures/composite/project2/package.json
625
+ - spec/fixtures/config/license_finder.yml
626
+ - spec/fixtures/license_directory/COPYING
627
+ - spec/fixtures/license_directory/LICENSE/MIT.txt
628
+ - spec/fixtures/license_directory/LICENSE/lib/unrelated.txt
629
+ - spec/fixtures/license_names/COPYING.txt
630
+ - spec/fixtures/license_names/LICENSE
631
+ - spec/fixtures/license_names/Licence.rdoc
632
+ - spec/fixtures/license_names/Mit-License
633
+ - spec/fixtures/license_names/README.rdoc
634
+ - spec/fixtures/nested_gem/vendor/LICENSE
635
+ - spec/fixtures/npm-recursive-dependencies/npm-list.json
636
+ - spec/fixtures/npm-recursive-dependencies/package.json
637
+ - spec/fixtures/utf8_gem/README
638
+ - spec/lib/license_finder/cli/approvals_spec.rb
639
+ - spec/lib/license_finder/cli/blacklist_spec.rb
640
+ - spec/lib/license_finder/cli/dependencies_spec.rb
641
+ - spec/lib/license_finder/cli/ignored_dependencies_spec.rb
642
+ - spec/lib/license_finder/cli/ignored_groups_spec.rb
643
+ - spec/lib/license_finder/cli/licenses_spec.rb
644
+ - spec/lib/license_finder/cli/main_spec.rb
645
+ - spec/lib/license_finder/cli/project_name_spec.rb
646
+ - spec/lib/license_finder/cli/whitelist_spec.rb
647
+ - spec/lib/license_finder/configuration_spec.rb
648
+ - spec/lib/license_finder/core_spec.rb
649
+ - spec/lib/license_finder/decision_applier_spec.rb
650
+ - spec/lib/license_finder/decisions_spec.rb
651
+ - spec/lib/license_finder/diff_spec.rb
652
+ - spec/lib/license_finder/license/definitions_spec.rb
653
+ - spec/lib/license_finder/license_aggregator_spec.rb
654
+ - spec/lib/license_finder/license_spec.rb
655
+ - spec/lib/license_finder/package_delta_spec.rb
656
+ - spec/lib/license_finder/package_manager_spec.rb
657
+ - spec/lib/license_finder/package_managers/bower_package_spec.rb
658
+ - spec/lib/license_finder/package_managers/bower_spec.rb
659
+ - spec/lib/license_finder/package_managers/bundler_package_spec.rb
660
+ - spec/lib/license_finder/package_managers/bundler_spec.rb
661
+ - spec/lib/license_finder/package_managers/cocoa_pods_package_spec.rb
662
+ - spec/lib/license_finder/package_managers/cocoa_pods_spec.rb
663
+ - spec/lib/license_finder/package_managers/go_dep_spec.rb
664
+ - spec/lib/license_finder/package_managers/go_package_spec.rb
665
+ - spec/lib/license_finder/package_managers/go_vendor_spec.rb
666
+ - spec/lib/license_finder/package_managers/go_workspace_spec.rb
667
+ - spec/lib/license_finder/package_managers/gradle_package_spec.rb
668
+ - spec/lib/license_finder/package_managers/gradle_spec.rb
669
+ - spec/lib/license_finder/package_managers/maven_package_spec.rb
670
+ - spec/lib/license_finder/package_managers/maven_spec.rb
671
+ - spec/lib/license_finder/package_managers/merged_package_spec.rb
672
+ - spec/lib/license_finder/package_managers/npm_package_spec.rb
673
+ - spec/lib/license_finder/package_managers/npm_spec.rb
674
+ - spec/lib/license_finder/package_managers/nuget_package_spec.rb
675
+ - spec/lib/license_finder/package_managers/nuget_spec.rb
676
+ - spec/lib/license_finder/package_managers/pip_package_spec.rb
677
+ - spec/lib/license_finder/package_managers/pip_spec.rb
678
+ - spec/lib/license_finder/package_managers/rebar_package_spec.rb
679
+ - spec/lib/license_finder/package_managers/rebar_spec.rb
680
+ - spec/lib/license_finder/package_spec.rb
681
+ - spec/lib/license_finder/packages/activation_spec.rb
682
+ - spec/lib/license_finder/packages/license_files_spec.rb
683
+ - spec/lib/license_finder/packages/licensing_spec.rb
684
+ - spec/lib/license_finder/packages/possible_license_file_spec.rb
685
+ - spec/lib/license_finder/project_finder_spec.rb
686
+ - spec/lib/license_finder/reports/csv_report_spec.rb
687
+ - spec/lib/license_finder/reports/diff_report_spec.rb
688
+ - spec/lib/license_finder/reports/html_report_spec.rb
689
+ - spec/lib/license_finder/reports/markdown_report_spec.rb
690
+ - spec/lib/license_finder/reports/merged_report_spec.rb
691
+ - spec/lib/license_finder/reports/text_report_spec.rb
692
+ - spec/spec_helper.rb
693
+ - spec/support/shared_examples_for_package_manager.rb
694
+ - spec/support/stdout_helpers.rb
695
+ - spec/support/test_fixtures.rb
@@ -1,37 +0,0 @@
1
- sudo: false
2
-
3
- rvm:
4
- - 1.9.3
5
- - 2.0
6
- - 2.1
7
- - 2.2
8
- - 2.3.0
9
- - jruby-1.7.23
10
- - jruby-9.0.4.0
11
-
12
- matrix:
13
- allow_failures:
14
- - rvm: jruby-1.7.23
15
-
16
- env:
17
- - PATH=$PATH:$HOME/gradle/bin:$HOME/rebar:$HOME/go/bin GOPATH=$HOME/go
18
-
19
- notifications:
20
- email:
21
- - licensefinder@pivotallabs.com
22
- webhooks:
23
- urls:
24
- - http://pulse.pivotallabs.com/projects/657d35b7-b896-4bf3-8837-9d558e2ab651/status
25
- on_start: true
26
-
27
- before_install:
28
- - gem update bundler
29
- - .travis/install_gradle.sh
30
- - .travis/install_rebar.sh
31
- - .travis/install_bower.sh
32
- - .travis/install_godep.sh
33
-
34
- script:
35
- - rake install
36
- - rake spec
37
- - rake features
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
- set -x
4
-
5
- npm install -g bower
@@ -1,6 +0,0 @@
1
- #!/bin/sh
2
- set -e
3
- set -x
4
-
5
- mkdir -p ~/go
6
- go get github.com/tools/godep
@@ -1,12 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
- set -x
4
-
5
- pushd /tmp
6
-
7
- wget http://services.gradle.org/distributions/gradle-2.4-all.zip
8
- unzip -q gradle*
9
- rm gradle*.zip
10
- mv gradle* ~/gradle
11
-
12
- popd
@@ -1,14 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
- set -x
4
-
5
- pushd ~
6
-
7
- git clone --depth 1 git://github.com/rebar/rebar.git
8
- cd rebar
9
- ./bootstrap
10
-
11
- erl -version
12
- PATH=$HOME/rebar:$PATH rebar --version
13
-
14
- popd