Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.travis.yml - github.com/gohugoio/testmodBuilder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6842d49d3caa0deae179af1b1a47ff545066380f (plain)
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
47
48
49
dist: xenial

language: go
env:
   global:
    - GO111MODULE=on
    - GOPROXY="https://proxy.golang.org"

matrix:
    include:
        - os: linux
          env:
          - K=$encrypted_8df8c5cb3fb6_key
          - IV=$encrypted_8df8c5cb3fb6_iv
        - os: osx
          env:
          - K=$encrypted_6d9c893e872c_key
          - IV=$encrypted_6d9c893e872c_iv
        - os: windows
          env:
          - K=$encrypted_bd59bad23324_key
          - IV=$encrypted_bd59bad23324_iv
go:
  - 1.12.x

git:
  depth: 1

notifications:
  email: false

before_script:
  - git config --global user.email "hugo-ci@gohugo.io"
  - git config --global user.name "Hugo CI"
  - >-
    openssl aes-256-cbc 
    -K $K 
    -iv $IV 
    -in github_deploy_key_$TRAVIS_OS_NAME.enc 
    -out github_deploy_key 
    -d
  - chmod 600 github_deploy_key
  - eval $(ssh-agent -s)
  - ssh-add github_deploy_key
  - mkdir -p ~/.ssh
  - echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
script:
  - cd  build
  - go run main.go