Skip to content

Commit f599e69

Browse files
committed
Setup Dotty build
1 parent c283e61 commit f599e69

21 files changed

+24
-2908
lines changed

.travis.yml

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,5 @@
1-
# GCE VMs have better performance (will be upgrading to premium VMs soon)
2-
sudo: required
3-
41
language: scala
5-
jdk: openjdk8
6-
7-
cache:
8-
directories:
9-
- $HOME/.ivy2/cache
10-
- $HOME/.sbt
11-
12-
stages:
13-
- name: build
14-
15-
jobs:
16-
include:
17-
18-
# full bootstrap and publish
19-
- stage: build
20-
if: type != pull_request
21-
script:
22-
# see comment in `bootstrap_fun` for details on the procedure
23-
# env available in each stage
24-
# - by travis config (see below): secret env vars
25-
# - by `common` script: WORKSPACE, IVY2_DIR, SBT_CMD, integrationRepoUrl
26-
# - by `bootstrap_fun`: publishPrivateTask, ...
27-
- (cd admin && ./init.sh)
28-
- source scripts/common
29-
- source scripts/bootstrap_fun
30-
- determineScalaVersion
31-
- removeExistingBuilds $integrationRepoUrl
32-
- if [ ! -z "$STARR_REF" ]; then buildStarr; fi
33-
- buildLocker
34-
- buildQuick
35-
- triggerScalaDist
36-
37-
# pull request validation (w/ mini-bootstrap)
38-
- stage: build
39-
if: type = pull_request
40-
script:
41-
- sbt -warn setupPublishCore generateBuildCharacterPropertiesFile publishLocal
42-
- STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
43-
- sbt -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll
44-
45-
# build the spec using jekyll
46-
- stage: build
47-
rvm: 2.2
48-
install: bundle install
49-
script:
50-
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then (cd admin && ./init.sh); fi'
51-
- bundle exec jekyll build -s spec/ -d build/spec
52-
after_success:
53-
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./scripts/travis-publish-spec.sh; fi'
54-
55-
env:
56-
global:
57-
- secure: "P8EqpZoin/YTnwel9TTxSSAHtXfZ4M262BKXlYUZmjoQsjyvXDAeZ7yAqgAvX5BeRFrGkBToPiE+V60stdWkPKs3+9COw2BDUB1CULBHhRY9Lxordmz0xVhgEfsoH4f6r6wOlIQ9kuaWhmP+JdB/mzOHZhLch9ziPi8O46Z8t4k=" # PRIV_KEY_SECRET, for scripts/travis-publish-spec.sh
58-
- secure: "T1fxtvLTxioyXJYiC/zVYdNYsBOt+0Piw+xE04rB1pzeKahm9+G2mISdcAyqv6/vze9eIJt6jNHHpKX32/Z3Cs1/Ruha4m3k+jblj3S0SbxV6ht2ieJXLT5WoUPFRrU68KXI8wqUadXpjxeJJV53qF2FC4lhfMUsw1IwwMhdaE8=" # PRIVATE_REPO_PASS
59-
- secure: "feE5A8mYNpkNQKVwCj3aXrwjVrJWh/4ENpRfFlr2HOD9ORk1GORD5Yq907WZd+dTkYK54Lh1gA+qHOCIDgJHbi9ZLU+kjzEjtYKF6lQy6Wb0LI8smTOnAA6IWVVYifiXw8d66MI2MKZb2jjGeIzy8Q00SZjLhEGjLyTeCIB88Ws=" # SONA_USER
60-
- secure: "ek3As5q2tL8UBXcxSBbv4v5YgsoPD41SCzPOSu72kzfbngyxgQxrcziU5pIM+Lib9KaWex7hVVWNL38tMyDbu+0OpDv8bPjMujzlDx5I2pJUfuOJo7QRYsJE1nsXcY4cA72cCLfbRcLEkvtDAhcdLSaUOqlyQe5BY4X4fY5eoPA=" # SONA_PASS
61-
- secure: "dbAvl6KEuLwZ0MVQPZihFsPzCdiLbX0EFk3so+hcfEbksrmLQ1tn4X5ZM7Wy1UDR8uN9lxngEwHch7a7lKqpugzmXMew9Wnikr9WBWbJT77Z+XJ/jHI6YuiCRpRo+nvxXGp9Ry80tSIgx5eju0J83IaJL41BWlBkvyAd7YAHORI=" # GPG_SUBKEY_SECRET
62-
- secure: "ee0z/1jehBjFa2M2JlBHRjeo6OEn/zmVl72ukBP1ISeKqz18Cswc4gDI5tV9RW9SlYFLkIlGsR2qnRCyJ/pqgQLcNdrpsCRFFc79oyLhfEtmPdAHlWfj4RSP68zINRtDdFuJ8iSy8XYP0NaqpVIYpkNdv9I6q7N85ljmMQpHO+U=" # TRAVIS_TOKEN (login with GitHub as lrytz)
63-
64-
before_cache:
65-
# Cleanup the cached directories to avoid unnecessary cache updates
66-
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
67-
- find $HOME/.sbt -name "*.lock" -print -delete
68-
69-
notifications:
70-
webhooks: https://scala-ci.typesafe.com/benchq/webhooks/travis
2+
script:
3+
- sbt library/compile
4+
jdk:
5+
- oraclejdk8

0 commit comments

Comments
 (0)