forked from scalacenter/scalajs-bundler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 3.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: scala
sudo: required
env:
global:
- TRAVIS_NODE_VERSION="8"
- secure: YXQWJjmqrib8ePEp/Ds7US9P5+medDAsKc8X/zHcwoNIGIpJF6QyBqkvLJNq5IkM05K0AF8AGmz2BlS1XECIYkTdQVS0dITrEFuiaiiUzURNlhJGjtw10NAS99+dW3M/T4MKWvTgWcIsgEx0ttsTlMedWpm7aFS4Zn9i3sx2iUSHmck74JTHUcI/1DltgwTu73euxgNBPSl6ICDKEcwRgjCor55/HLbhiHBS6nx/OVPiazFrsnOG8psfn8NZUJMYiNK4FL69BxHHyvs1mQx0U24Yxbg/r2U+QrPihq5Xk9MglDz13wjxu0WrVQdFZzLRxmnTXpRr/Kx9l4xN4IMvg0hNeJ0tBCq2g3i1XXeIkf0LM0ZoImV7pB4JWUYywUyGwz5/NLiJH82dVpXO3YtHl5kF22+Vtd+IOSWmVkx4bW+UTW3vLXDyxfULscNLGb3yeuTcW10NLAlXSakNvukyYoA3K7BGoN4J3v36CzKcO3wD1hzSChhd3ivngtuKF+rdKiJTjzVd/hnwTF7xZ7CNpGSDoggT/NQ4oHIWTdWBcMDI61H76eMOittphBOOfYEcXYPwBrDSMHDnPKyoNdWc3VItCAYp5dqZxtNxkclIEzGHjOEB03II5zDhF+uv4YPxaf2IYhhcLsdE5JHltpa9CVnTciJdrJ6nKx4vNBqzRhM=
- secure: CGqZrHZPgWOVZcjCL4iDJRlYPeC46Ko53ZufP4UtKpC7bdXgzqsbLVinI0EYwjZ0MZNUFQhOSKCK+2tNcnVA0EkhzMLSBE2sHXQ3fwO3EsoSGLCEOKh2LSrxb2S2AXHJer2/EsoJMCVyaYaQdWKWuK+CGLeTDJtP4l5Zeo1pF9k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3Z0kcmzOaujZC3OFmI20qd3+Aep9o32Qn1rCmRXmfD5IQFDx1OoR6bjfwDNoa2YDE/a9fH8MfFWqDam6C5PDOL0EPTe/PJUUY4Kk+6/x2Tm5bhQEXXt0RxZ23FBI=
matrix:
- TRAVIS_SBT_VERSION="0.13.17" SCALAJS_VERSION="0.6.27"
- TRAVIS_SBT_VERSION="0.13.17" SCALAJS_VERSION="1.0.0-M7"
- TRAVIS_SBT_VERSION="1.2.8" SCALAJS_VERSION="1.0.0-M7"
- TRAVIS_SBT_VERSION="1.2.8" SCALAJS_VERSION="0.6.27"
jdk:
- openjdk11
before_install:
- nvm install 6
- nvm use 6
- node --version
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.6
- export PATH=$HOME/.yarn/bin:$PATH
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
openssl aes-256-cbc -K $encrypted_d49db7ad02d6_key -iv $encrypted_d49db7ad02d6_iv -in travis/secrets.tar.enc -out travis/secrets.tar -d;
tar xv -C travis -f travis/secrets.tar;
fi
script:
- sbt -no-colors ";^^$TRAVIS_SBT_VERSION;test;runScripted"
after_success:
- if [ $TRAVIS_PULL_REQUEST = 'false' ] && [ -n "$TRAVIS_TAG" ]; then
sbt ";^^$TRAVIS_SBT_VERSION; publishSigned; sonatypeReleaseAll; manual/makeSite; manual/ghpagesPushSite";
fi
cache:
yarn: true
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt"
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete