Commit Graph

58 Commits

Author SHA1 Message Date
Alexandre Archambault 9694d32083 Remove sbt-shading sources
It now lives at https://github.com/coursier/sbt-shading.
2020-05-12 01:00:09 +02:00
Alexandre Archambault 6875a94786 Commit sbt launcher in repo 2019-09-21 16:34:58 +02:00
Alexandre Archambault 87f812d6f3 Switch to coursier sbt-launcher 1.2.11
Has fixes for ivy paths handling in particular
2019-05-23 10:50:50 +02:00
Alexandre Archambault 1001c14452 Switch to latest sbt launcher 2019-04-26 10:20:59 +02:00
Alexandre Archambault 852e73e036 Use coursier-based sbt launcher 2019-03-06 10:59:35 +01:00
Alexandre Archambault 74d28eb1c4 Tweak .travis.yml 2019-03-04 18:08:06 +01:00
Alexandre Archambault 2e9d58808d Tweak Travis CI conf 2019-02-01 00:53:47 +01:00
Alexandre Archambault 6b1587302e
Tweak .travis.yml for sbt-ci-release (#14) 2018-12-04 16:27:04 +01:00
Alexandre Archambault cd5e4fc00d Run sbt-lm-coursier tests in separate Travis jobs 2018-11-20 15:59:45 +01:00
Alexandre Archambault 55f457a6f7 Add DependencyResolutionInterface implementation in lm-coursier
Originally based on https://github.com/sbt/librarymanagement/pull/270
2018-11-20 11:25:16 +01:00
Alexandre Archambault ebbf0b105b Split sbt-coursier Travis CI job 2018-10-17 14:18:04 +02:00
Alexandre Archambault 3b81a4ad5e Setup sbt-ci-release (WIP) 2018-10-17 14:18:03 +02:00
Alexandre Archambault 0d161be94d Run sbt-pgp-coursier tests in their own job 2018-09-28 18:31:16 +02:00
Alexandre Archambault 3e05d920a4 Keep only sbt plugins 2018-09-28 18:23:43 +02:00
Alexandre Archambault a2ef75abcb
Adjust tests relying on cache path (#910)
The default cache path changed some time ago, from ~/.coursier/cache/v1
to ~/.cache/coursier/v1 (Linux) or ~/Library/Caches/Coursier/v1 (OS X).

The former is still used if it is found locally and the new one isn't
found. Else the new one is created if necessary, and used.
2018-09-27 13:41:24 +02:00
Alexandre Archambault db1884a84e Remove 2.10 stuff 2018-09-24 15:03:50 +02:00
Alexandre Archambault 9c6335458e Stop publishing snapshots from CI
The corresponding jobs keep running into `java.net.ProtocolException: Too many follow-up requests: 21`.

Might try again to publish those, with sbt-dynver or an equivalent enabled,
via Travis CI stages.
2018-09-24 10:00:16 +02:00
Alexandre Archambault a5b0424c08
Tweak Travis CI config for scala-native (#858)
See 2f17b288e4
2018-05-16 17:18:32 +02:00
Alexandre Archambault e4361d6fde
Only specify scala release versions in one place (#830) 2018-04-04 11:30:59 +02:00
Alexandre Archambault 4e4aa7cfa2 Switch to scala 2.12.5 2018-03-31 15:30:27 +02:00
Denys Shabalin c7dabdf19a Update to the latest travis_setup.sh for Scala Native (#825)
[Recent PR](https://github.com/scala-native/scala-native/pull/1195) changed the location of the travis setup script within a Scala Native repo. This PR updates travis build to point to the new location.
2018-03-26 13:27:13 +02:00
Alexandre Archambault b1fde7291d Don't require manually running npm install before the JS tests 2018-03-12 21:50:35 +01:00
Alexandre Archambault c13c69764b Really switch to latest scala 2.10 / 2.11 2018-03-12 11:44:31 +01:00
Alexandre Archambault 506e14a90b Switch cli to scala 2.12 and latest case-app 2018-02-07 10:23:07 +01:00
Yi Cheng a4258f48ce
Add json report to fetch and local exclusion option (#692)
This patch introduces changes for cli with json output #659. Format as follows:
```
{
  "conflict_resolution": {
    "org:name:version" (requested): "org:name:version" (reconciled) 
  },
  "dependencies": [
    {
      "coord": "orgA:nameA:versionA",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgY:nameY:versionY>,
      ]
    },
    {
      "coord": "orgB:nameB:versionB",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgZ:nameZ:versionZ>,
      ]
    },
  ]
}
```
For example:
```
fetch -t org.apache.avro:trevni-avro:1.8.2  org.slf4j:slf4j-api:1.7.6 --json-output-file x.out
  Result:
├─ org.apache.avro:trevni-avro:1.8.2
│  ├─ org.apache.avro:trevni-core:1.8.2
│  │  ├─ org.apache.commons:commons-compress:1.8.1
│  │  ├─ org.slf4j:slf4j-api:1.7.7
│  │  └─ org.xerial.snappy:snappy-java:1.1.1.3
│  └─ org.slf4j:slf4j-api:1.7.7
└─ org.slf4j:slf4j-api:1.7.6 -> 1.7.7
```
would produce the following json file:
```
$ jq < x.out 
{
  "conflict_resolution": {
    "org.slf4j:slf4j-api:1.7.6": "org.slf4j:slf4j-api:1.7.7"
  },
  "dependencies": [
    {
      "coord": "org.apache.avro:trevni-core:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-core/1.8.2/trevni-core-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.apache.avro:trevni-avro:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-avro/1.8.2/trevni-avro-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.apache.avro:trevni-core:1.8.2",
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.slf4j:slf4j-api:1.7.7",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.apache.commons:commons-compress:1.8.1",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.xerial.snappy:snappy-java:1.1.1.3",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/xerial/snappy/snappy-java/1.1.1.3/snappy-java-1.1.1.3.jar"
        ]
      ],
      "dependencies": []
    }
  ]
}

```
2017-12-26 10:46:35 -08:00
Yi Cheng 1296459de3 Add Pants build tool (#709) 2017-12-11 17:50:04 +01:00
Alexandre Archambault 7ac3038d2e Switch to scala 2.12.4 2017-11-01 16:20:47 +01:00
Alexandre Archambault 24fa04d814 Update scala-native setup on Travis CI 2017-09-20 16:58:41 +02:00
Alexandre Archambault dd34d03f61 Try fixing scala-native things on CI 2017-09-10 19:02:31 +02:00
Alexandre Archambault 7d69815f64 Allow to generate native bootstraps 2017-07-08 14:32:16 +02:00
Alexandre Archambault dbd602d5a8 Really run Travis tests in Mac env
The sudo:required seems to make it switch to Linux
2017-06-06 18:01:28 +02:00
Alexandre Archambault f5ef7d8179 Add non-reg tests for Nexus proxies
Ensure everything work fine again with those (things went bad at
1.0.0-RC1, because of the use of directory listings, that may not be
exhaustive in proxies - or may be just empty, e.g. currently with nexus 3)
2017-05-31 21:19:27 +02:00
Alexandre Archambault 4daf132da7 Run sbt plugins tests in separate Travis runs 2017-05-04 15:25:49 +02:00
Alexandre Archambault b65fdf3c7b Switch to scala 2.11.11 2017-04-26 14:11:38 +02:00
Alexandre Archambault c59c7d45ca Refactor travis.sh 2017-02-27 16:18:41 +01:00
Alexandre Archambault bf92539b53 Actually, let's cache ~/.coursier on CI 2017-02-27 16:02:47 +01:00
Alexandre Archambault 164e044977 Remove deprecated env var on CI 2017-02-27 16:02:47 +01:00
Alexandre Archambault 7de033a68f Move all scripts under scripts/ 2017-02-27 16:01:02 +01:00
Alexandre Archambault e94dbc7e68 Switch to scala 2.12.1 2017-01-31 16:22:16 +01:00
Alexandre Archambault 4b3923d3e5 Add shading plugin 2017-01-31 15:46:49 +01:00
Alexandre Archambault fe529fb9f4 Switch to Java 6 2016-11-27 17:37:39 +01:00
Alexandre Archambault fc9f1e6816
Switch to 2.12.0 final 2016-11-02 20:47:31 +01:00
Alexandre Archambault 4b14215c33
Prepare build.sbt for 2.12, keep updating dependencies 2016-10-22 22:25:01 +02:00
Alexandre Archambault 4cff20b205
Move CI related scripts to .ci directory 2016-05-09 19:25:37 +02:00
Alexandre Archambault 29f8d49c83 Switch to scala 2.11.8, SBT scala-js 0.6.7 2016-03-14 16:20:20 +01:00
Erik LaBianca 38bd8a1067 Extract npm dependencies to package.json file and use it for travis
- Allows developers to init simply using `npm install`
2016-02-22 15:19:50 -05:00
Alexandre Archambault 1bf84ee3fa Run CI only on PRs and master branch 2016-02-20 16:01:46 +01:00
Alexandre Archambault a9b205e741 Remove JDK 7 CI jobs 2016-01-26 18:16:55 +01:00
Alexandre Archambault d248969f48 Enable plugin in our own build 2016-01-02 18:15:28 +01:00
Alexandre Archambault f61f71016e Let Travis publish 2.10 artifacts too 2016-01-02 13:35:34 +01:00