forked from sbt/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 856 Bytes
/
.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
language: ruby
rvm: 2.2.3
cache:
apt: true
directories:
- $HOME/.ivy2/cache
script:
- sbt makeSite
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
jdk:
- oraclejdk7
install:
- gem install nanoc:4.0.0
- gem install redcarpet
- gem install nokogiri
before_install:
- sudo add-apt-repository -y ppa:texlive-backports/ppa
- echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
- sudo apt-get update -qq
- sudo apt-get install -qq sbt ruby-dev pandoc latex-cjk-all texlive-full
before_script:
- export JVM_OPTS="-Xms1024m -Xmx1024m -XX:ReservedCodeCacheSize=128m -XX:MaxPermSize=256m -Xss2m -Dfile.encoding=UTF-8"