Changeset b7f1efb in matrix


Ignore:
Timestamp:
2020-01-29T00:57:24+01:00 (4 weeks ago)
Author:
admin
Branches:
master
Children:
ece2dbd
Parents:
8ccf0d7
Message:

Forgot one

Location:
.travis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • .travis/deploy.sh

    r8ccf0d7 rb7f1efb  
    55
    66# Make sure we are in the projects root folder
    7 cd $CI_PROJECT_DIR
     7cd $TRAVIS_BUILD_DIR
    88
    99# Change GIT upstream from git to https
  • .travis/test1.sh

    r8ccf0d7 rb7f1efb  
    44set -e
    55
    6 find $CI_PROJECT_DIR/source/ -type f -name '*.list' -exec bash -c "sort -i -u \
     6find $TRAVIS_BUILD_DIR/source/ -type f -name '*.list' -exec bash -c "sort -i -u \
    77        -f '{}' -o '{}' " \;
    88
    99# Combine domain and wildcard domains for external usages
    1010
    11 cd $CI_PROJECT_DIR/
     11cd $TRAVIS_BUILD_DIR/
    1212
    13 find $CI_PROJECT_DIR/source/ -type f -name 'combined.txt' -delete
     13find $TRAVIS_BUILD_DIR/source/ -type f -name 'combined.txt' -delete
    1414
    1515for d in `find source/ -mindepth 1 -maxdepth 1 -type d`
  • .travis/update_active_lists.sh

    r8ccf0d7 rb7f1efb  
    55# Happy havesting :)
    66
    7 truncate -s 0 "$CI_PROJECT_DIR/source.list"
     7truncate -s 0 "$TRAVIS_BUILD_DIR/source.list"
    88
    9 cd "$CI_PROJECT_DIR"
     9cd "$TRAVIS_BUILD_DIR"
    1010
    1111for lists in `find source/ -type f -name "*.list"`
    1212do
    13         printf "$CI_PROJECT_URL/raw/master/$lists\n" | sort -u >> "$CI_PROJECT_DIR/source.list"
     13        printf "https://raw.githubusercontent.com/mypdns/matrix/master/$lists\n" | sort -u >> "$TRAVIS_BUILD_DIR/source.list"
    1414done
    1515
    16 ls -lh $CI_PROJECT_DIR/
     16ls -lh $TRAVIS_BUILD_DIR/
Note: See TracChangeset for help on using the changeset viewer.