Skip to content

Commit

Permalink
Support JS-IR backend (#139)
Browse files Browse the repository at this point in the history
* Support JS-IR backend
* Clean build in Travis
  • Loading branch information
YarnSphere committed Sep 13, 2020
1 parent 7a570f7 commit 8e12eeb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -17,11 +17,11 @@ stages:
jobs:
include:
- stage: build
script: ./gradlew build
script: ./gradlew clean build
- stage: snapshot
script: ./gradlew build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
script: ./gradlew clean build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- stage: snapshot-1.4
script: ./gradlew build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
script: ./gradlew clean build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
- stage: release
script: ./gradlew build bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER -Dmaven.password=$MAVEN_PASSWORD -Dmaven.user=$MAVEN_USER
script: ./gradlew clean build bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER -Dmaven.password=$MAVEN_PASSWORD -Dmaven.user=$MAVEN_USER

12 changes: 6 additions & 6 deletions build.gradle.kts
Expand Up @@ -57,12 +57,12 @@ kotlin {
}
}
js {
compilations.named("main") {
kotlinOptions {
metaInfo = true
sourceMap = true
verbose = true
moduleKind = "umd"
nodejs()
browser {
testTask {
useKarma {
useChromeHeadless()
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
@@ -1 +1,2 @@
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.js.compiler=both

0 comments on commit 8e12eeb

Please sign in to comment.