forked from schemaorg/schemaorg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (43 loc) · 1.49 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
41
42
43
44
45
46
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- SDK_URL=https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.49.zip
sudo: false
cache: bundler
jobs:
include:
- stage: xmllint
name: "XML Lint RDFa"
language: python
python: "2.7"
before_script:
- sudo apt-get install -y libxml2-utils
script:
- xmllint --noout data/*.rdfa data/ext/*/*.rdfa
- stage: python
name: "Python tests"
language: python
python: "2.7"
before_script:
- wget $SDK_URL -nv -O google_appengine.zip
- unzip -q google_appengine.zip
- rm google_appengine.zip
- export PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR/google_appengine/
- scripts/buildreleasefiles.sh -y -e -l "nquads nt" LATEST
script: python scripts/run_tests.py
- stage: ruby
name: "Ruby Linter"
language: ruby
rvm: 2.6
env: SOFT_LINT=true
before_install:
- 'gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)'
- 'gem update bundler --conservative'
- bundle install --gemfile=scripts/Gemfile
before_script:
- wget $SDK_URL -nv -O google_appengine.zip
- unzip -q google_appengine.zip
- rm google_appengine.zip
- export PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR/google_appengine/
- scripts/buildreleasefiles.sh -y -e -l "nquads nt" LATEST
script: (cd scripts; bundle exec rake)